Merge "Add bandit target"

This commit is contained in:
Jenkins 2017-06-12 13:15:01 +00:00 committed by Gerrit Code Review
commit fe3aaa4202
2 changed files with 6 additions and 0 deletions

View File

@ -24,3 +24,6 @@ tempest>=14.0.0 # Apache-2.0
# Functional tests.
requests!=2.12.2,!=2.13.0,>=2.10.0 # Apache-2.0
# Bandit security scanning
bandit>=1.1.0 # Apache-2.0

View File

@ -43,6 +43,9 @@ commands = python setup.py build_sphinx
[testenv:releasenotes]
commands = sphinx-build -a -W -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[testenv:bandit]
commands = bandit -r valet -x tests -n 5 -l
[flake8]
filename = *.py
show-source = true