Merge "Explicitly exclude tests from bandit scan"

This commit is contained in:
Jenkins 2016-03-15 11:17:52 +00:00 committed by Gerrit Code Review
commit c47a91dbbb

View File

@ -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.