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:
Takashi Kajinami 2023-12-21 22:20:45 +09:00
parent 61a6df2901
commit 712ec48ab4
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ commands = stestr run --slowest {posargs}
commands =
pre-commit run -a
# Run security linter
bandit -r oslo_serialization tests -n5
bandit -r oslo_serialization tests -n5 --skip B411
[testenv:venv]
commands = {posargs}