diff options
author | Zuul <zuul@review.openstack.org> | 2017-12-13 03:04:24 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-12-13 03:04:24 +0000 |
commit | 426b2cdcd0d5f92a81a98e58068ccf51d3af4a95 (patch) | |
tree | 5dca1f4a4d30942576398b556e64a7a7087c0a80 | |
parent | 79e468edacd717a69f5c279ffab80f3163b6b4e7 (diff) | |
parent | 7a84979365e116a598ba6dd0a1c7a20f54acdf17 (diff) | |
download | oslo-i18n-426b2cdcd0d5f92a81a98e58068ccf51d3af4a95.tar.gz |
Merge "add bandit to pep8 job"
-rw-r--r-- | test-requirements.txt | 3 | ||||
-rw-r--r-- | tox.ini | 7 |
2 files changed, 9 insertions, 1 deletions
diff --git a/test-requirements.txt b/test-requirements.txt index 63862e2..c51fb0e 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -15,3 +15,6 @@ testscenarios>=0.4 # Apache-2.0/BSD oslo.config>=5.1.0 # Apache-2.0 reno>=2.5.0 # Apache-2.0 + +# Bandit security code scanner +bandit>=1.1.0 # Apache-2.0 @@ -11,7 +11,12 @@ deps = commands = python setup.py testr --slowest --testr-args='{posargs}' [testenv:pep8] -commands = flake8 +deps = + -r{toxinidir}/test-requirements.txt +commands = + flake8 + # Run security linter + bandit -r oslo_i18n -x tests -n5 [testenv:venv] commands = {posargs} |