diff options
author | ChangBo Guo(gcb) <eric.guo@easystack.cn> | 2017-11-30 13:27:33 +0800 |
---|---|---|
committer | ChangBo Guo(gcb) <eric.guo@easystack.cn> | 2017-12-22 10:10:59 +0800 |
commit | 83a32d33c2987832d1762ce16c975d3d17fc7c4a (patch) | |
tree | 27caaa540c0b4aa8d5b99319a1cd80c15d0218e6 /setup.cfg | |
parent | 4f81c419947e2793e3eda4ce8f3664058b5a5d2c (diff) | |
download | oslo-db-83a32d33c2987832d1762ce16c975d3d17fc7c4a.tar.gz |
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
Diffstat (limited to 'setup.cfg')
-rw-r--r-- | setup.cfg | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |