From 98146b48f8f998af3e9c352eaf4b7d9389e66613 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Wed, 23 Dec 2015 20:14:57 +0100 Subject: [PATCH] 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 --- tox.ini | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index 87151c9801..8bdfc6bb27 100644 --- a/tox.ini +++ b/tox.ini @@ -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