From 7b4b49afe000fc0315b88a4cfba917f3dc4c501a Mon Sep 17 00:00:00 2001 From: Kai Qiang Wu Date: Mon, 16 Nov 2015 19:04:31 -0600 Subject: [PATCH] Make bandit included in test-requirements.txt We remove old bandit special version txt file and include it in test-requirements.txt to make sure it can updated by global automatically. Change-Id: I03c15eb6d4c1e7a492c37954fce488cbc1fb63d0 --- test-requirements-bandit.txt | 1 - test-requirements.txt | 3 ++- tox.ini | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 test-requirements-bandit.txt diff --git a/test-requirements-bandit.txt b/test-requirements-bandit.txt deleted file mode 100644 index 6a5a0a98de..0000000000 --- a/test-requirements-bandit.txt +++ /dev/null @@ -1 +0,0 @@ -bandit==0.10.0 diff --git a/test-requirements.txt b/test-requirements.txt index 4b4cd564e0..10bce44402 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -5,8 +5,9 @@ # Despite above warning added by global sync process, please use # ascii betical order. -doc8 # Apache-2.0 +bandit>=0.13.2 coverage>=3.6 +doc8 # Apache-2.0 fixtures>=1.3.1 hacking<0.11,>=0.10.0 # Apache-2.0 mock>=1.2 diff --git a/tox.ini b/tox.ini index 1975b0d26a..0e368bce41 100644 --- a/tox.ini +++ b/tox.ini @@ -56,7 +56,7 @@ commands = commands = {posargs} [testenv:bandit] -deps = -r{toxinidir}/test-requirements-bandit.txt +deps = -r{toxinidir}/test-requirements.txt commands = bandit -c bandit.yaml -r magnum -n5 -p magnum_conservative [testenv:cover]