summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorKaifeng Wang <kaifeng.w@gmail.com>2019-06-03 15:04:41 +0800
committerKaifeng Wang <kaifeng.w@gmail.com>2019-06-10 09:26:04 +0800
commitcaf925349ac7b95eb5cd5c6a7242cf20c1e06855 (patch)
tree9fcf11b9cc3d610a79f2b59e4595db8cdb1be465 /tox.ini
parent5e4edeab97b4e50053a93fd2085272a9535a69b8 (diff)
downloadironic-caf925349ac7b95eb5cd5c6a7242cf20c1e06855.tar.gz
Incorporate bandit support in CI
Change-Id: I0ffe0c12e9e32f32d2b400b5756fc2148a2993a0 Story: 2005791 Task: 33518
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini5
1 files changed, 5 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 7b0ae5760..39b7bea1d 100644
--- a/tox.ini
+++ b/tox.ini
@@ -145,3 +145,8 @@ deps =
-c{toxinidir}/lower-constraints.txt
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
+
+[testenv:bandit]
+basepython = python3
+deps = -r{toxinidir}/test-requirements.txt
+commands = bandit -r ironic -x tests -n5 -ll