bandit: Disable B411
Bandit 1.7.6 now always raises B411 error when xmlrpc is imported. The error can't be resolved even if we make the suggested change in code. Let's disable the check for now to unblock gate. Change-Id: I515af75af2b790eaee52692abebae2fa8387aed1
This commit is contained in:
parent
61a6df2901
commit
712ec48ab4
2
tox.ini
2
tox.ini
|
@ -13,7 +13,7 @@ commands = stestr run --slowest {posargs}
|
||||||
commands =
|
commands =
|
||||||
pre-commit run -a
|
pre-commit run -a
|
||||||
# Run security linter
|
# Run security linter
|
||||||
bandit -r oslo_serialization tests -n5
|
bandit -r oslo_serialization tests -n5 --skip B411
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
Loading…
Reference in New Issue