Update bandit version
This fixes the minimal bandit version to 1.6.0 and updates the format of the -x option. Change-Id: Ib0691b53669b6f4f7824bd4385640c5a805a1e2a
This commit is contained in:
parent
7ea4dda98e
commit
54c1b98b12
@ -48,5 +48,5 @@ reno==1.8.0 # Apache2
|
|||||||
sphinxcontrib-httpdomain==1.6.0 # Apache-2.0
|
sphinxcontrib-httpdomain==1.6.0 # Apache-2.0
|
||||||
doc8==0.6.0 # Apache-2.0
|
doc8==0.6.0 # Apache-2.0
|
||||||
Pygments==2.2.0 # BSD
|
Pygments==2.2.0 # BSD
|
||||||
bandit==1.1.0 # Apache-2.0
|
bandit==1.6.0 # Apache-2.0
|
||||||
os-api-ref==1.0.0 # Apache-2.0
|
os-api-ref==1.0.0 # Apache-2.0
|
||||||
|
@ -21,5 +21,5 @@ sphinxcontrib-pecanwsme>=0.8 # Apache-2.0
|
|||||||
reno>=1.8.0 # Apache-2.0
|
reno>=1.8.0 # Apache-2.0
|
||||||
doc8>=0.6.0 # Apache-2.0
|
doc8>=0.6.0 # Apache-2.0
|
||||||
Pygments>=2.2.0 # BSD license
|
Pygments>=2.2.0 # BSD license
|
||||||
bandit>=1.1.0 # Apache-2.0
|
bandit>=1.6.0 # Apache-2.0
|
||||||
os-api-ref>=1.0.0 # Apache-2.0
|
os-api-ref>=1.0.0 # Apache-2.0
|
||||||
|
2
tox.ini
2
tox.ini
@ -30,7 +30,7 @@ commands =
|
|||||||
[testenv:bandit]
|
[testenv:bandit]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
deps = -r{toxinidir}/test-requirements.txt
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
commands = bandit -r cloudkitty -n5 -x tests -ll
|
commands = bandit -r cloudkitty -n5 -x cloudkitty/tests/* -ll
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user