Drop exclusion of bandit B410 test

This test has been dropped upstream[1] so no need to exclude it
during testing as this causes an unknown test failure.

[1] e4da0b351f

Change-Id: Ib93abda1395e8a294b13da62f15ebc2c03963712
This commit is contained in:
James Page 2025-01-23 10:51:13 +00:00 committed by Takashi Kajinami
parent 674814214b
commit 166c8e9cf3
2 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# Hacking already pins down pep8, pyflakes and flake8
hacking>=6.1.0,<6.2.0 # Apache-2.0
bandit>=1.1.0 # Apache-2.0
bandit>=1.8.1 # Apache-2.0
coverage>=4.0 # Apache-2.0
ddt>=1.4.1 # MIT
fixtures>=3.0.0 # Apache-2.0/BSD

View File

@ -33,12 +33,11 @@ commands =
# B310: Audit url open for permitted schemes
# B311: Standard pseudo-random generators are not suitable for security/cryptographic purposes
# B404: Import of subprocess module
# B410: Import of lxml module
# B504: Test for SSL use with no version specified
# B506: Test for use of yaml load
# B603: Test for use of subprocess with shell equals true
# B607: Test for starting a process with a partial path
bandit -r heat -x tests --skip B101,B104,B107,B110,B310,B311,B404,B410,B504,B506,B603,B607
bandit -r heat -x tests --skip B101,B104,B107,B110,B310,B311,B404,B504,B506,B603,B607
doc8 {posargs}
[testenv:venv]