Move bandit to pep8
The bandit gate is passing, let's make it voting. Since bandit is a security linter, add it to the linter target - called pep8 - and run it there. This will save the CI systems spawning an extra test machine for this. Needed-By: I90e5401ee8e46a2a153adb62d0f99a8a88a686b8 Change-Id: I75eeefa2441466da60b9b206769a2e64e9c1e7a9
This commit is contained in:
parent
94c6b9e46b
commit
a0345cb287
1
tox.ini
1
tox.ini
@ -42,6 +42,7 @@ basepython = python2.7
|
|||||||
commands =
|
commands =
|
||||||
flake8 {posargs:swift test doc setup.py}
|
flake8 {posargs:swift test doc setup.py}
|
||||||
flake8 --filename=swift* bin
|
flake8 --filename=swift* bin
|
||||||
|
bandit -c bandit.yaml -r swift -n 5
|
||||||
|
|
||||||
[testenv:py3pep8]
|
[testenv:py3pep8]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user