Move bandit requirement to test-requirements.txt
The update script for requirements doesn't update test-requirements-bandit.txt automatically. Rather than update that script, move the bandit requirement into test-requirements.txt instead. Change-Id: I331ffd378d80943b8884b4a62493096c54ad8948
This commit is contained in:
parent
aca990950d
commit
369b76061f
|
@ -1 +0,0 @@
|
||||||
bandit>=0.10.1
|
|
|
@ -19,3 +19,7 @@ testrepository>=0.0.18
|
||||||
testresources>=0.2.4
|
testresources>=0.2.4
|
||||||
testtools>=0.9.36,!=1.2.0
|
testtools>=0.9.36,!=1.2.0
|
||||||
python-memcached>=1.48
|
python-memcached>=1.48
|
||||||
|
|
||||||
|
# Bandit security code scanner
|
||||||
|
bandit>=0.10.1
|
||||||
|
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -40,7 +40,7 @@ downloadcache = ~/cache/pip
|
||||||
commands = oslo_debug_helper {posargs}
|
commands = oslo_debug_helper {posargs}
|
||||||
|
|
||||||
[testenv:bandit]
|
[testenv:bandit]
|
||||||
deps = -r{toxinidir}/test-requirements-bandit.txt
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
commands = bandit -c bandit.yaml -r keystonemiddleware -n5 -p keystone_conservative
|
commands = bandit -c bandit.yaml -r keystonemiddleware -n5 -p keystone_conservative
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
|
|
Loading…
Reference in New Issue