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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user