Test for sorted modules as part of linting

Merge the currently not used modulesenv target into the linters
target so that we test that modules are sorted properly which is
some kind of lint. There's no need to run an extra VM just
for checking the sorting, so include it here.

Change-Id: I547c77de92a00a42ac0841b087350144e760562f
This commit is contained in:
Andreas Jaeger 2015-12-23 20:14:57 +01:00
parent 091ff2816c
commit 98146b48f8

View File

@ -12,6 +12,7 @@ deps = -r{toxinidir}/test-requirements.txt
commands =
flake8
{toxinidir}/tools/run-bashate.sh
python {toxinidir}/tools/sorted_modules_env.py {toxinidir}/modules.env
[testenv:pep8]
commands = flake8
@ -30,6 +31,3 @@ select = H231
[testenv:bashate]
commands = {toxinidir}/tools/run-bashate.sh
[testenv:modulesenv]
commands = python {toxinidir}/tools/sorted_modules_env.py {toxinidir}/modules.env