From 32c61ee8b0dec6d351bbc9a7331b9dc9a216a618 Mon Sep 17 00:00:00 2001 From: Eric Brown Date: Tue, 17 Feb 2015 15:28:46 -0800 Subject: Add bandit to tox for security static analysis This patch adds security static analysis to tox as an optional target. Change-Id: Id74a190e893326a587911e32593040bcb844d3e9 --- tox.ini | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 568acb6..8c4fa18 100644 --- a/tox.ini +++ b/tox.ini @@ -24,6 +24,10 @@ deps = -r{toxinidir}/requirements.txt pylint>=1.3.0 commands = pylint oslo +[testenv:bandit] +deps = -r{toxinidir}/test-requirements-bandit.txt +commands = bandit -c bandit.yaml -r oslo_vmware -n 5 + [testenv:docs] commands = python setup.py build_sphinx -- cgit v1.2.1