From 83a32d33c2987832d1762ce16c975d3d17fc7c4a Mon Sep 17 00:00:00 2001 From: "ChangBo Guo(gcb)" Date: Thu, 30 Nov 2017 13:27:33 +0800 Subject: add bandit to pep8 job Add the bandit security scanner to the pep8 job. * convert assert statement to raise AssertionError * skip B311,B105 Change-Id: I23b2732791f42adfa04bd64f02b25cbdb98aaf93 --- setup.cfg | 2 ++ 1 file changed, 2 insertions(+) (limited to 'setup.cfg') diff --git a/setup.cfg b/setup.cfg index 9da6893..815a378 100644 --- a/setup.cfg +++ b/setup.cfg @@ -38,6 +38,8 @@ test = testrepository>=0.0.18 # Apache-2.0/BSD testtools>=2.2.0 # MIT os-testr>=1.0.0 # Apache-2.0 +# Bandit security code scanner + bandit>=1.1.0 # Apache-2.0 fixtures = testresources>=2.0.0 # Apache-2.0/BSD testscenarios>=0.4 # Apache-2.0/BSD -- cgit v1.2.1