Merge "add bandit to pep8 job"

This commit is contained in:
Zuul 2017-12-13 07:55:23 +00:00 committed by Gerrit Code Review
commit f9970a94e5
2 changed files with 9 additions and 1 deletions

View File

@ -11,3 +11,6 @@ coverage!=4.4,>=4.0 # Apache-2.0
openstackdocstheme>=1.17.0 # Apache-2.0
sphinx>=1.6.2 # BSD
reno>=2.5.0 # Apache-2.0
# Bandit security code scanner
bandit>=1.1.0 # Apache-2.0

View File

@ -11,7 +11,12 @@ deps =
commands = python setup.py testr --slowest --testr-args='{posargs}'
[testenv:pep8]
commands = flake8
deps =
-r{toxinidir}/test-requirements.txt
commands =
flake8
# Run security linter
bandit -r oslo_context -x tests -n5
[testenv:venv]
commands = {posargs}