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:
Luka Peschke 2019-05-13 16:57:01 +02:00
parent 7ea4dda98e
commit 54c1b98b12
3 changed files with 3 additions and 3 deletions

View File

@ -48,5 +48,5 @@ reno==1.8.0 # Apache2
sphinxcontrib-httpdomain==1.6.0 # Apache-2.0
doc8==0.6.0 # Apache-2.0
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

View File

@ -21,5 +21,5 @@ sphinxcontrib-pecanwsme>=0.8 # Apache-2.0
reno>=1.8.0 # Apache-2.0
doc8>=0.6.0 # Apache-2.0
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

View File

@ -30,7 +30,7 @@ commands =
[testenv:bandit]
basepython = python3
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]
basepython = python3