summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorJim Rollenhagen <jim@jimrollenhagen.com>2019-05-14 20:47:18 +0000
committerJim Rollenhagen <jim@jimrollenhagen.com>2019-05-14 21:09:32 +0000
commitdc3175afb16fedaf5216b5d4a7a521d16636b4d1 (patch)
tree8e7a9b7b085a7fd57d49e43932b5b4fae375228a /tox.ini
parentd775a0448847322213662e5d4b341c6694b19479 (diff)
downloadkeystone-dc3175afb16fedaf5216b5d4a7a521d16636b4d1.tar.gz
Revert "Blacklist bandit 1.6.0"
This reverts commit ebac8330d8ac81c491a1cb0e16eb23b93d7932ee. Using the glob that I had not yet had enough coffee to do correctly is a better solution, and allows us to fix new failures in 1.6.0 which would break us again when 1.6.1 was released. Change-Id: Ica473ba71b224cdc0acf815f82d534b6c70a7f54
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 186981cea..800610acc 100644
--- a/tox.ini
+++ b/tox.ini
@@ -37,7 +37,7 @@ commands =
# the check and gate queues
bashate devstack/plugin.sh
# Run security linter
- bandit -r keystone -x tests
+ bandit -r keystone -x 'keystone/tests/*'
[testenv:bandit]
basepython = python3
@@ -46,7 +46,7 @@ basepython = python3
deps = -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
-r{toxinidir}/requirements.txt
.[bandit]
-commands = bandit -r keystone -x tests
+commands = bandit -r keystone -x 'keystone/tests/*'
[testenv:cover]
basepython = python3