Make bandit included in test-requirements.txt
We remove old bandit special version txt file and include it in test-requirements.txt to make sure it can updated by global automatically. Change-Id: I03c15eb6d4c1e7a492c37954fce488cbc1fb63d0
This commit is contained in:
parent
4a9f8273cf
commit
7b4b49afe0
|
@ -1 +0,0 @@
|
||||||
bandit==0.10.0
|
|
|
@ -5,8 +5,9 @@
|
||||||
# Despite above warning added by global sync process, please use
|
# Despite above warning added by global sync process, please use
|
||||||
# ascii betical order.
|
# ascii betical order.
|
||||||
|
|
||||||
doc8 # Apache-2.0
|
bandit>=0.13.2
|
||||||
coverage>=3.6
|
coverage>=3.6
|
||||||
|
doc8 # Apache-2.0
|
||||||
fixtures>=1.3.1
|
fixtures>=1.3.1
|
||||||
hacking<0.11,>=0.10.0 # Apache-2.0
|
hacking<0.11,>=0.10.0 # Apache-2.0
|
||||||
mock>=1.2
|
mock>=1.2
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -56,7 +56,7 @@ commands =
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:bandit]
|
[testenv:bandit]
|
||||||
deps = -r{toxinidir}/test-requirements-bandit.txt
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
commands = bandit -c bandit.yaml -r magnum -n5 -p magnum_conservative
|
commands = bandit -c bandit.yaml -r magnum -n5 -p magnum_conservative
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
|
|
Loading…
Reference in New Issue