Merge "Fix bandit errors"
This commit is contained in:
commit
1eb7602d44
4
tox.ini
4
tox.ini
|
@ -74,12 +74,12 @@ commands =
|
||||||
yapf -dr {toxinidir}/armada {toxinidir}/setup.py
|
yapf -dr {toxinidir}/armada {toxinidir}/setup.py
|
||||||
flake8 {posargs}
|
flake8 {posargs}
|
||||||
# Run security linter as part of the pep8 gate instead of a separate zuul job.
|
# Run security linter as part of the pep8 gate instead of a separate zuul job.
|
||||||
bandit -r armada -x armada/tests -n 5
|
bandit -r armada -n 5 -x armada/tests/*
|
||||||
|
|
||||||
[testenv:bandit]
|
[testenv:bandit]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
commands =
|
commands =
|
||||||
bandit -r armada -x armada/tests -n 5
|
bandit -r armada -n 5 -x armada/tests/*
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
|
|
Loading…
Reference in New Issue