Clean fix for bandit exclusions change
Don't mangle requirements, just fix the glob. Change-Id: I4b57336a103c75df877ff65e645b3b05b3c79a49
This commit is contained in:
parent
af51a84477
commit
dec3639078
@ -15,7 +15,7 @@ testscenarios>=0.4 # Apache-2.0/BSD
|
||||
WebTest>=2.0.27 # MIT
|
||||
tempest>=17.1.0 # Apache-2.0
|
||||
# Bandit security code scanner
|
||||
bandit!=1.6.0,>=1.1.0 # Apache-2.0
|
||||
bandit>=1.1.0 # Apache-2.0
|
||||
zake>=0.1.6 # Apache-2.0
|
||||
doc8>=0.6.0 # Apache-2.0
|
||||
Pygments>=2.2.0 # BSD license
|
||||
|
2
tox.ini
2
tox.ini
@ -88,7 +88,7 @@ commands =
|
||||
[testenv:bandit]
|
||||
basepython = python3
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
commands = bandit -r designate -n5 -x tests -t \
|
||||
commands = bandit -r designate -n5 -x 'designate/tests/*' -t \
|
||||
B505,B504,B503,B502,B501,B604,B605,B001,B601,B602,B701,B609,B702,\
|
||||
B608,B506,B312,B310,B411,B108,B103,B102,B309,B308,B302,B307,B306
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user