From 839b34080b000f57c503020accdb17404707374c Mon Sep 17 00:00:00 2001 From: "ChangBo Guo(gcb)" Date: Thu, 30 Nov 2017 11:30:17 +0800 Subject: add bandit to pep8 job Add the bandit security scanner to the pep8 job. Change-Id: I3cf1630c8d69515700e98a9274f42aa3f3b05303 --- tox.ini | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 42d3fb4..5ebd980 100644 --- a/tox.ini +++ b/tox.ini @@ -12,7 +12,12 @@ deps = -r{toxinidir}/test-requirements.txt commands = python setup.py testr --slowest --testr-args='{posargs}' [testenv:pep8] -commands = flake8 +deps = + -r{toxinidir}/test-requirements.txt +commands = + flake8 + # Run security linter + bandit -r oslo_policy tests -n5 [testenv:venv] commands = {posargs} -- cgit v1.2.1