Allow single linting job
Merge in tox.ini the existing separate lint jobs into a single one and use the environment pep8 for this as pep8 is the generic linting target in OpenStack. This allows us also to remove several test jobs from this repository. Change-Id: Iba797d082b5793352b75c456c5a06791a34bc40d
This commit is contained in:
parent
fbd38f07c5
commit
ccb3cceae8
4
tox.ini
4
tox.ini
@ -21,12 +21,16 @@ commands=
|
||||
python setup.py build_sphinx
|
||||
|
||||
[testenv:pep8]
|
||||
# This runs all lint like jobs
|
||||
basepython = python2.7
|
||||
deps =
|
||||
flake8
|
||||
{[testenv]deps}
|
||||
commands=
|
||||
bash tools/flake8wrap.sh
|
||||
doc8 -e .rst doc/source
|
||||
{[testenv:jsonlint]commands}
|
||||
{[testenv:jsonschema]commands}
|
||||
whitelist_externals =
|
||||
sh
|
||||
bash
|
||||
|
Loading…
Reference in New Issue
Block a user