Merge "Enable bandit"
This commit is contained in:
commit
b248a1fc64
@ -4,5 +4,5 @@
|
|||||||
hacking>=3.0.1,<3.1.0 # Apache-2.0
|
hacking>=3.0.1,<3.1.0 # Apache-2.0
|
||||||
oslotest>=3.2.0 # Apache-2.0
|
oslotest>=3.2.0 # Apache-2.0
|
||||||
# Bandit security code scanner
|
# Bandit security code scanner
|
||||||
bandit>=1.1.0,<1.6.0 # Apache-2.0
|
bandit>=1.6.0,<1.7.0 # Apache-2.0
|
||||||
stestr>=2.0.0 # Apache-2.0
|
stestr>=2.0.0 # Apache-2.0
|
||||||
|
3
tox.ini
3
tox.ini
@ -18,8 +18,7 @@ commands =
|
|||||||
deps = {[testenv]deps}
|
deps = {[testenv]deps}
|
||||||
commands =
|
commands =
|
||||||
flake8
|
flake8
|
||||||
# Run security linter (deactivated as it fails on tmpdir issue right now)
|
bandit -r oslo_metrics -x tests -n5
|
||||||
# bandit -r oslo_metrics -x tests -n5
|
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user