diff options
author | Cyril Roelandt <cyril@redhat.com> | 2015-10-26 11:01:11 +0100 |
---|---|---|
committer | Cyril Roelandt <cyril@redhat.com> | 2015-10-26 18:11:15 +0100 |
commit | 2786a9ded35fdd427e22133abd050fc7bbebdcab (patch) | |
tree | 967fd0443ffe6cd2c6cf3086d80eeaa3c2dcfcc8 /tox.ini | |
parent | 9e5fb5697d3f7259f01e3416af0582090d20859a (diff) | |
download | oslo-messaging-2786a9ded35fdd427e22133abd050fc7bbebdcab.tar.gz |
Add a "bandit" target to tox.ini
This will allow us to find potential security issues, such as those fixed by
52e624891fc500c8ab9f3f10ef45258ce740916a and
c4a7ac0b653543e8a3ba10060cabdb114fb6672b .
Change-Id: I21aa0ca79232784069e55da46920eb43250d8939
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,5 @@ [tox] -envlist = py34,py27,pep8 +envlist = py34,py27,pep8,bandit [testenv] setenv = @@ -38,6 +38,10 @@ commands = {toxinidir}/setup-test-env-qpid.sh 1.0 python setup.py testr --slowes [testenv:py27-func-zeromq] commands = {toxinidir}/setup-test-env-zmq.sh python setup.py testr --slowest --testr-args='oslo_messaging.tests.functional' +[testenv:bandit] +deps = -r{toxinidir}/test-requirements.txt +commands = bandit -c bandit.yaml -r oslo_messaging -n5 -p oslo.messaging + [flake8] show-source = True ignore = H237,H402,H405,H904 |