Add bandit-baseline to tox.ini

To add a bandit gate, a new tox environment is needed

Change-Id: If247add30d8dc4761dacb82c8d02ea4bd71546f0
This commit is contained in:
Nicholas Jones 2017-03-15 13:38:22 -05:00
parent a72c4c9228
commit 2bec754d50

View File

@ -108,6 +108,10 @@ commands = python {toxinidir}/tools/generate_driver_list.py
deps = -r{toxinidir}/test-requirements.txt
commands = bandit -r cinder -n5 -x tests -ll
[testenv:bandit-baseline]
envdir = {toxworkdir}/bandit
commands = bandit-baseline -r cinder -n5 -x tests -ii -ll
[flake8]
# Following checks are ignored on purpose.
#