Merge "Explicitly exclude tests from bandit scan"
This commit is contained in:
commit
c47a91dbbb
4
tox.ini
4
tox.ini
@ -13,7 +13,7 @@ commands =
|
||||
commands =
|
||||
flake8
|
||||
# Run security linter
|
||||
bandit -r oslo_log -n5
|
||||
bandit -r oslo_log -x tests -n5
|
||||
|
||||
[testenv:venv]
|
||||
commands = {posargs}
|
||||
@ -27,7 +27,7 @@ commands =
|
||||
coverage report --show-missing
|
||||
|
||||
[testenv:bandit]
|
||||
commands = bandit -r oslo_log -n5
|
||||
commands = bandit -r oslo_log -x tests -n5
|
||||
|
||||
[flake8]
|
||||
# E123, E125 skipped as they are invalid PEP-8.
|
||||
|
Loading…
x
Reference in New Issue
Block a user