summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Rollenhagen <jim@jimrollenhagen.com>2019-05-09 14:22:12 +0000
committerJim Rollenhagen <jim@jimrollenhagen.com>2019-05-09 14:31:01 +0000
commitc2f619b14c1468f3d4d89e1b07d3e85815889df4 (patch)
tree3aa9d1c9f3948d541a91230af1d5f1d5643ab79c
parente4c01229e316bf386e2ff7aa16b1415ba8f2236b (diff)
downloadkeystone-c2f619b14c1468f3d4d89e1b07d3e85815889df4.tar.gz
Blacklist bandit 1.6.0
There's a regression[0] in bandit 1.6.0 which causes bandit to stop respecting excluded directories, and our tests throw a bunch of violations. Blacklist this version, but allow newer versions as there is already a pull request[1] to fix it, and I expect it will be included in the next release. [0] https://github.com/PyCQA/bandit/issues/488 [1] https://github.com/PyCQA/bandit/pull/489 Change-Id: Ie4dbfb3f54e4aac00e0537d5760b7a8fc81b35a2 (cherry picked from commit ebac8330d8ac81c491a1cb0e16eb23b93d7932ee)
-rw-r--r--setup.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.cfg b/setup.cfg
index 2b4addeaf..721f3382a 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -35,7 +35,7 @@ memcache =
mongodb =
pymongo!=3.1,>=3.0.2 # Apache-2.0
bandit =
- bandit>=1.1.0 # Apache-2.0
+ bandit!=1.6.0,>=1.1.0 # Apache-2.0
[global]
setup-hooks =