diff --git a/tox.ini b/tox.ini index bc0bd194a..51e35afe2 100644 --- a/tox.ini +++ b/tox.ini @@ -52,14 +52,15 @@ commands = bandit -r designate -n5 -x tests -t \ commands = oslo_debug_helper {posargs} [testenv:flake8] +deps = -r{toxinidir}/test-requirements.txt commands = sh tools/pretty_flake8.sh + {[testenv:bandit]commands} [testenv:pep8] +deps = -r{toxinidir}/test-requirements.txt basepython = python2.7 commands = sh tools/pretty_flake8.sh - -[testenv:pyflakes] -commands = sh tools/pretty_flake8.sh + {[testenv:bandit]commands} [testenv:bashate] deps = bashate