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:
Andreas Jaeger 2017-12-17 19:14:15 +01:00
parent fbd38f07c5
commit ccb3cceae8
1 changed files with 4 additions and 0 deletions

View File

@ -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