summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorBrant Knudson <bknudson@us.ibm.com>2016-01-13 13:13:06 -0600
committerEric Brown <browne@vmware.com>2016-03-09 09:45:47 -0800
commit45136e058034a96c33c7afedcc69ad40f5d514d0 (patch)
treebfe9c460e96503909d9c469b665c30cd2a2894b4 /tox.ini
parent455d40c89a72499f6250dbe4f9b9513ace5b9be4 (diff)
downloadkeystonemiddleware-45136e058034a96c33c7afedcc69ad40f5d514d0.tar.gz
Remove bandit.yaml in favor of defaults
This patch removes the bandit.yaml and just uses the defaults. As such there are a few flagged issues that needed correcting. The hits are now marked with "# nosec" so that they'll be ignored since the hits were not security-related. Co-Authored-By: Brant Knudson <bknudson@us.ibm.com> Co-Authored-By: Eric Brown <browne@vmware.com> Change-Id: Ib253a4a21156b6606c356ade46c72c6ace01a1af
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 2 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index cd43ffa..11f55f2 100644
--- a/tox.ini
+++ b/tox.ini
@@ -17,12 +17,12 @@ commands = python setup.py testr --testr-args='{posargs}'
[testenv:pep8]
commands =
flake8
- bandit -c bandit.yaml -r keystonemiddleware -n5 -p gate
+ bandit -r keystonemiddleware -x tests -n5
[testenv:bandit]
# NOTE(browne): This is required for the integration test job of the bandit
# project. Please do not remove.
-commands = bandit -c bandit.yaml -r keystonemiddleware -n5 -p gate
+commands = bandit -r keystonemiddleware -x tests -n5
[testenv:venv]
commands = {posargs}