From 7f98be6ded9ded50741532a3df9b53472ef4f0b7 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 24 Oct 2017 18:05:52 +0200 Subject: [PATCH] Move bandit into the linters blacklist It is similar to flake8 a generic static code linter and not necessary for building a binary distribution of OpenStack, so enforcing a g-r consistent version seems to be slightly over the top Change-Id: I3907050a3aaab9d32f9b71c14c47212ba793b58d --- blacklist.txt | 1 + global-requirements.txt | 1 - upper-constraints.txt | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/blacklist.txt b/blacklist.txt index 5970820249..94314b6b51 100644 --- a/blacklist.txt +++ b/blacklist.txt @@ -1,6 +1,7 @@ # linters - each project may have a different version with loose convergence # over time. astroid +bandit flake8 flake8_docstrings flake8-import-order diff --git a/global-requirements.txt b/global-requirements.txt index cc42d7e0b9..a6c2119075 100644 --- a/global-requirements.txt +++ b/global-requirements.txt @@ -361,7 +361,6 @@ zhmcclient>=0.9.0 # Apache 2.0 License # Testing tools below, which are typically in test-requires.txt -bandit>=1.1.0 # Apache-2.0 bashate>=0.5.1 # Apache-2.0 cliff-tablib>=1.0 # Apache-2.0 couchdb>=0.8 # Apache-2.0 diff --git a/upper-constraints.txt b/upper-constraints.txt index 0c04da324b..97dd9fbd43 100644 --- a/upper-constraints.txt +++ b/upper-constraints.txt @@ -23,7 +23,6 @@ os-api-ref===1.4.0 oslo.concurrency===3.23.0 websocket-client===0.44.0 osprofiler===1.13.0 -bandit===1.4.0 tabulate===0.8.1 python-ironic-inspector-client===2.1.0 lxml===4.0.0