diff options
author | Brant Knudson <bknudson@us.ibm.com> | 2015-05-13 20:22:13 -0500 |
---|---|---|
committer | Brant Knudson <bknudson@us.ibm.com> | 2015-06-03 21:01:18 -0500 |
commit | 86018ca8649382fd1893c2099176167ec4a5aafe (patch) | |
tree | 935fc40eeb31449683026cb0de2c202b3b24433b /tox.ini | |
parent | f6ab133f25f00e041cd84aa8bbfb422594d1942f (diff) | |
download | python-keystoneclient-86018ca8649382fd1893c2099176167ec4a5aafe.tar.gz |
tox env for Bandit
A tox env is created for the Bandit static code analyzer for
security.
bp bandit
Change-Id: I8c0178befec77fe3d29b411a15ceed9a020820b5
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,7 +1,7 @@ [tox] minversion = 1.6 skipsdist = True -envlist = py26,py27,py33,py34,pep8 +envlist = py26,py27,py33,py34,pep8,bandit [testenv] usedevelop = True @@ -34,6 +34,10 @@ commands = oslo_debug_helper -t keystoneclient/tests {posargs} setenv = OS_TEST_PATH=./keystoneclient/tests/functional passenv = OS_* +[testenv:bandit] +deps = -r{toxinidir}/test-requirements.txt +commands = bandit -c bandit.yaml -r keystoneclient -n5 -p keystone_conservative + [flake8] # H405: multi line docstring summary not separated with an empty line ignore = H405 |