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:
parent
a72c4c9228
commit
2bec754d50
4
tox.ini
4
tox.ini
@ -108,6 +108,10 @@ commands = python {toxinidir}/tools/generate_driver_list.py
|
|||||||
deps = -r{toxinidir}/test-requirements.txt
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
commands = bandit -r cinder -n5 -x tests -ll
|
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]
|
[flake8]
|
||||||
# Following checks are ignored on purpose.
|
# Following checks are ignored on purpose.
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user