Fix zuul pep8 failures related to bugbear
Feb 13 released a new version of bugbear that raises new error codes. We are setting an upper limit for bugbear to be from before that version was released. bandit is also reporting a hashlib error. The bandit job is non-voting, but the error is now being suppressed. Story: 2010531 Task: 47313 Signed-off-by: Al Bailey <al.bailey@windriver.com> Change-Id: Iffb790c67e658c7a40c697e364cb34f4c4f9ec6c
This commit is contained in:
parent
88b1d3b5c6
commit
4a424d77cc
5
tox.ini
5
tox.ini
@ -111,7 +111,7 @@ usedevelop = False
|
||||
skip_install = True
|
||||
deps =
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
flake8-bugbear
|
||||
flake8-bugbear<23.2.13
|
||||
commands =
|
||||
flake8
|
||||
|
||||
@ -150,8 +150,9 @@ commands =
|
||||
allowlist_externals = rm
|
||||
|
||||
[bandit]
|
||||
# B324: hashlib
|
||||
# B411: blacklist Using xmlrpclib
|
||||
skips = B411
|
||||
skips = B324,B411
|
||||
|
||||
[testenv:bandit]
|
||||
description = Bandit code scan for *.py files under config folder
|
||||
|
Loading…
Reference in New Issue
Block a user