Drop bandit B320 profile to fix tox -e bandit interface
https://github.com/PyCQA/bandit/commit/e4da0b351f89a82b5de8dd791cbdd963476b5a11 drops B320 profile from blacklist. Bandit no longer identify this profile leading to tox -e bandit failure. This profile is not listed here https://bandit.readthedocs.io/en/latest/plugins/index.html#complete-test-plugin-listing. so dropping it fixes the issue. Closes-Bug: #2094789 Change-Id: I8543a507757a22b69d9b8fda500910d2246028c4 Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
This commit is contained in:
@@ -111,7 +111,7 @@ commands = sphinx-build -a -W -E -d releasenotes/build/doctrees --keep-going -b
|
||||
|
||||
[testenv:bandit]
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
commands = bandit -r watcher -x watcher/tests/* -n5 -ll -s B320
|
||||
commands = bandit -r watcher -x watcher/tests/* -n5 -ll
|
||||
|
||||
[flake8]
|
||||
filename = *.py,app.wsgi
|
||||
|
||||
Reference in New Issue
Block a user