diff options
author | Eric Brown <browne@vmware.com> | 2016-03-12 20:03:32 -0800 |
---|---|---|
committer | Eric Brown <browne@vmware.com> | 2016-03-12 20:03:32 -0800 |
commit | 0f58e2317cc3b992ac1c69f90a69d34fea355924 (patch) | |
tree | e606bb412cd5f4e48e00340e8567dca23f3b49be /tox.ini | |
parent | 4ea1ade893a206bb3c35d34c411f1d597dbf1af7 (diff) | |
download | oslo-messaging-0f58e2317cc3b992ac1c69f90a69d34fea355924.tar.gz |
Explicitly exclude tests from bandit scan
Now that the bandit linter runs without a bandit.yaml specified,
it should exclude the tests directory similar to how it did before
in the bandit.yaml.
The reason this has not caused a problem yet is because bandit is
still finding a config bandit.yaml in .tox/pep8/etc/bandit/bandit.yaml.
But in a newer version of bandit this will not be the case.
Change-Id: I6cdceaff2aa906e813f1d1e993f60e66358946ee
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -40,7 +40,7 @@ commands = {toxinidir}/setup-test-env-zmq.sh python setup.py testr --slowest --t [testenv:bandit] deps = -r{toxinidir}/test-requirements.txt -commands = bandit -r oslo_messaging -n5 +commands = bandit -r oslo_messaging -x tests -n5 [flake8] show-source = True |