From 6b0a38b45b8d866edd5b64d696d6c4bf344d6e67 Mon Sep 17 00:00:00 2001 From: "Chandan Kumar (raukadah)" <chkumar@redhat.com> Date: Tue, 14 Jan 2025 15:55:25 +0530 Subject: [PATCH] Drop bandit B320 profile to fix pep8 job https://github.com/PyCQA/bandit/commit/e4da0b351f89a82b5de8dd791cbdd963476b5a11 drops B320 profile from blacklist. Bandit no longer identify this profile leading to tox -e pep8 failure. By removing it from skip, it fixes the issue. Closes-Bug: #2094783 Change-Id: I4452e28733450266b9a7b1083b8ff4b1bd0477e1 Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com> --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 9d8698b..41657df 100644 --- a/tox.ini +++ b/tox.ini @@ -19,7 +19,7 @@ commands = stestr run --slowest {posargs} commands = doc8 doc/source/ CONTRIBUTING.rst HACKING.rst README.rst flake8 - bandit -r watcher_tempest_plugin -x tests -n5 -ll -s B320 + bandit -r watcher_tempest_plugin -x tests -n5 -ll [testenv:cover] setenv = @@ -60,7 +60,7 @@ commands = oslo_debug_helper {posargs} [testenv:bandit] deps = -r{toxinidir}/test-requirements.txt -commands = bandit -r watcher_tempest_plugin -x tests -n5 -ll -s B320 +commands = bandit -r watcher_tempest_plugin -x tests -n5 -ll show-source = True ignore = E123,E125