aboutsummaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorDave McCowan <dmccowan@cisco.com>2016-03-08 11:50:37 -0500
committerSteven Dake <stdake@cisco.com>2016-03-08 16:33:59 -0500
commit39b8150f66471f035720d4d87970637c991ea677 (patch)
tree2c86680d943aa31bf11e169176715585db3de482 /tox.ini
parent10159938086cf6241f7df2a9fb95c4817f0cc9ef (diff)
downloadkolla-39b8150f66471f035720d4d87970637c991ea677.tar.gz
kolla-39b8150f66471f035720d4d87970637c991ea677.zip
Add tox job for the bandit python security linter
Bandit is a job that parses and analyzes python code to detect common insecure programming practices. TrivialFix Change-Id: Iea23a9bd23b25827043f02aa1a62fb0724f1d0ee
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini3
1 files changed, 3 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 3816cde61..753b6f359 100644
--- a/tox.ini
+++ b/tox.ini
@@ -24,6 +24,9 @@ commands =
{toxinidir}/tools/validate-all-yaml.sh
{toxinidir}/tools/validate-all-maintainer.sh
+[testenv:bandit]
+commands = bandit -r ansible/library dev docker kolla tests tools
+
[testenv:venv]
commands = {posargs}