diff --git a/tox.ini b/tox.ini index 0f4cccb4f..07b9b395f 100644 --- a/tox.ini +++ b/tox.ini @@ -44,9 +44,13 @@ sitepackages = True downloadcache = ~/cache/pip [testenv:pep8] +deps = + {[testenv]deps} + pylint commands = sh ./tools/check_bash.sh flake8 + pylint --rcfile=.pylintrc --output-format=colorized {posargs:neutron_lbaas} #neutron-db-manage check_migration #sh -c "find neutron_lbaas -type f -regex '.*\.pot?' -print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null" whitelist_externals = sh @@ -78,13 +82,6 @@ show-source = true builtins = _ exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools,.ropeproject,rally-scenarios -[testenv:pylint] -deps = - {[testenv]deps} - pylint -commands = - pylint --rcfile=.pylintrc --output-format=colorized {posargs:neutron_lbaas} - [hacking] import_exceptions = neutron.i18n local-check-factory = neutron.hacking.checks.factory