Bandit test exclusions syntax change
Newer versions of bandit broke their handling of test exclusion directories. It is now necessary to glob the contents of the directory rather than just list the base path. Change-Id: I02fbc02ce8d623b75a7d568ea48bb5e5e6c66b58
This commit is contained in:
parent
28f4f9e44a
commit
1a87298ac7
2
tox.ini
2
tox.ini
@ -69,7 +69,7 @@ commands = flake8
|
||||
doc/source octavia CONSTITUTION.rst HACKING.rst README.rst \
|
||||
TESTING.rst
|
||||
# Run security linter
|
||||
bandit -r octavia -ll -ii -x octavia/tests
|
||||
bandit -r octavia -ll -ii -x 'octavia/tests/*'
|
||||
# Make sure specs follow our template
|
||||
find . -type f -name "*.pyc" -delete
|
||||
python -m unittest specs-tests.test_titles
|
||||
|
Loading…
x
Reference in New Issue
Block a user