aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test-requirements.txt1
-rw-r--r--tox.ini4
-rw-r--r--upper-constraints.txt1
3 files changed, 6 insertions, 0 deletions
diff --git a/test-requirements.txt b/test-requirements.txt
index 0cfead31..bac66abe 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -12,3 +12,4 @@ yamllint
doc8 # Apache-2.0
bashate # Apache-2.0
ansible-lint
+bandit
diff --git a/tox.ini b/tox.ini
index 474b7bef..2193fc61 100644
--- a/tox.ini
+++ b/tox.ini
@@ -57,6 +57,10 @@ files =
build.sh
commands = bashate {[testenv:bashate]files}
+[testenv:bandit]
+basepython = python2.7
+commands = bandit -r xtesting -x tests -n 5 -ll -s B602
+
[testenv:cover]
basepython = python2.7
dirs =
diff --git a/upper-constraints.txt b/upper-constraints.txt
index 2ef26717..8b12ecc6 100644
--- a/upper-constraints.txt
+++ b/upper-constraints.txt
@@ -1 +1,2 @@
robotframework===3.1.1
+bandit===1.1.0