Bandit should only be installed in py3 env
Running tox for linters fails since the bandit being pulled in is python3 only. This is similar to other bugs where a new version is released which drops py2 support. In this env, we only include bandit if we are testing and running in py3. Partial-Bug: 1922590 Change-Id: I11b7d974ae3b64e7846e1420521dee0d48128fc5 Signed-off-by: albailey <Al.Bailey@windriver.com>
This commit is contained in:
parent
a2a2a88887
commit
14e1a9a82b
@ -1,4 +1,4 @@
|
||||
# hacking pulls in flake8
|
||||
hacking
|
||||
bashate >= 0.2
|
||||
bandit!=1.6.0,>=1.1.0,<2.0.0
|
||||
bandit;python_version>="3.5"
|
||||
|
Loading…
x
Reference in New Issue
Block a user