Involve bandit
JIRA: RHELCMP-8562 Signed-off-by: Haibo Lin <hlin@redhat.com>
This commit is contained in:
parent
707a2c8d10
commit
e490764985
10
tox.ini
10
tox.ini
@ -1,5 +1,5 @@
|
||||
[tox]
|
||||
envlist = flake8, black, py27, py3
|
||||
envlist = bandit, flake8, black, py27, py3
|
||||
|
||||
[testenv:flake8]
|
||||
deps =
|
||||
@ -8,6 +8,14 @@ whitelist_externals = sh
|
||||
commands =
|
||||
sh -c "flake8 pungi pungi_utils setup.py tests/*py"
|
||||
|
||||
[testenv:bandit]
|
||||
basepython = python3
|
||||
skip_install = true
|
||||
deps = bandit
|
||||
commands =
|
||||
bandit -r -ll pungi pungi_utils
|
||||
ignore_outcome = True
|
||||
|
||||
[testenv:black]
|
||||
basepython = python3
|
||||
whitelist_externals = sh
|
||||
|
Loading…
Reference in New Issue
Block a user