diff options
author | ChangBo Guo(gcb) <eric.guo@easystack.cn> | 2016-02-26 17:11:47 +0800 |
---|---|---|
committer | ChangBo Guo(gcb) <eric.guo@easystack.cn> | 2016-03-02 13:26:41 +0800 |
commit | 47318f2490524482f30d40f3638848c771fd4b50 (patch) | |
tree | 036491cfe3eff41cbdf0b4e54b8af9593983a1cd /tox.ini | |
parent | 48977b6641b1434c3a13ee9647a3f46bcf052636 (diff) | |
download | oslo-config-47318f2490524482f30d40f3638848c771fd4b50.tar.gz |
Move bandit into pep8
Run security linter bandit as part of pep8. Pep8
is the usual linter target and thus let's use it there instead of
starting another short-running job to enable it.
This copy the idea from I54a4fccebb375517f9cd129f62f8f0c795b6edcc
Change-Id: I4dc181ec30fd632043619e4a34093772de23eb2a
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,6 +1,6 @@ [tox] distribute = False -envlist = py34,py27,pep8,bandit +envlist = py34,py27,pep8 [testenv] deps = -r{toxinidir}/test-requirements.txt @@ -9,7 +9,10 @@ commands = coverage report --show-missing [testenv:pep8] -commands = flake8 +commands = + flake8 + # Run security linter + bandit -r oslo_config -n5 [testenv:cover] setenv = VIRTUAL_ENV={envdir} |