Merge "remove bandit from testing"
This commit is contained in:
commit
c7dfbd39fe
|
@ -1,7 +1,6 @@
|
||||||
alabaster==0.7.10
|
alabaster==0.7.10
|
||||||
appdirs==1.4.3
|
appdirs==1.4.3
|
||||||
Babel==2.5.3
|
Babel==2.5.3
|
||||||
bandit==1.1.0
|
|
||||||
certifi==2018.1.18
|
certifi==2018.1.18
|
||||||
chardet==3.0.4
|
chardet==3.0.4
|
||||||
cliff==2.11.0
|
cliff==2.11.0
|
||||||
|
|
|
@ -20,7 +20,6 @@ testscenarios>=0.4 # Apache-2.0/BSD
|
||||||
testtools>=2.2.0 # MIT
|
testtools>=2.2.0 # MIT
|
||||||
oslotest>=3.2.0 # Apache-2.0
|
oslotest>=3.2.0 # Apache-2.0
|
||||||
os-testr>=1.0.0 # Apache-2.0
|
os-testr>=1.0.0 # Apache-2.0
|
||||||
bandit>=1.1.0 # Apache-2.0
|
|
||||||
|
|
||||||
# Dependencies for each of the optional stores
|
# Dependencies for each of the optional stores
|
||||||
oslo.vmware>=2.17.0 # Apache-2.0
|
oslo.vmware>=2.17.0 # Apache-2.0
|
||||||
|
|
15
tox.ini
15
tox.ini
|
@ -28,23 +28,8 @@ basepython = python3
|
||||||
commands =
|
commands =
|
||||||
flake8 {posargs}
|
flake8 {posargs}
|
||||||
# Run security linter
|
# Run security linter
|
||||||
# The following bandit tests are being skipped:
|
|
||||||
# B101 - Use of assert detected.
|
|
||||||
# B110 - Try, Except, Pass detected.
|
|
||||||
# B303 - Use of insecure MD2, MD4, or MD5 hash function.
|
|
||||||
bandit -r glance_store -x tests --skip B101,B110,B303
|
|
||||||
doc8 {posargs}
|
doc8 {posargs}
|
||||||
|
|
||||||
[testenv:bandit]
|
|
||||||
basepython = python3
|
|
||||||
# NOTE(browne): This is required for the integration test job of the bandit
|
|
||||||
# project. Please do not remove.
|
|
||||||
# The following bandit tests are being skipped:
|
|
||||||
# B101 - Use of assert detected.
|
|
||||||
# B110 - Try, Except, Pass detected.
|
|
||||||
# B303 - Use of insecure MD2, MD4, or MD5 hash function.
|
|
||||||
commands = bandit -r glance_store -x tests --skip B101,B110,B303
|
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
setenv =
|
setenv =
|
||||||
|
|
Loading…
Reference in New Issue