Add flake8 configuration to the tox.ini file
It sets import stype to be "pep8" to be consistent with other OpenStack projects and configures some excluded files and enabled extensions. It's all the same as for neutron-tempest-plugin repo to be consistent with it. Change-Id: I8951003e481fe15f05cc7eeb671d86ca793a7eed
This commit is contained in:
parent
73402012d4
commit
5edcdf1e78
8
tox.ini
8
tox.ini
@ -5,7 +5,7 @@ skipsdist = True
|
||||
ignore_basepython_conflict = True
|
||||
|
||||
[testenv]
|
||||
basepython = python3
|
||||
basepython = {env:TOX_PYTHON:python3}
|
||||
usedevelop = True
|
||||
setenv =
|
||||
VIRTUAL_ENV={envdir}
|
||||
@ -24,3 +24,9 @@ commands =
|
||||
|
||||
[testenv:venv]
|
||||
commands = {posargs}
|
||||
|
||||
[flake8]
|
||||
enable-extensions = H106,H203,H204,H205,H904
|
||||
show-source = true
|
||||
exclude = ./.*,build,dist,doc,*egg*,releasenotes
|
||||
import-order-style = pep8
|
||||
|
Loading…
x
Reference in New Issue
Block a user