From 1968334b29982e54fb89b2badfaa50d0518247e1 Mon Sep 17 00:00:00 2001 From: "Chandan Kumar (raukadah)" Date: Tue, 14 Jan 2025 16:05:19 +0530 Subject: [PATCH] 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) --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index a5f634635..39f044181 100644 --- a/tox.ini +++ b/tox.ini @@ -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