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:
Andreas Jaeger 2016-09-02 15:00:00 +02:00 committed by Andreas Jaeger
parent 94c6b9e46b
commit a0345cb287

View File

@ -42,6 +42,7 @@ basepython = python2.7
commands =
flake8 {posargs:swift test doc setup.py}
flake8 --filename=swift* bin
bandit -c bandit.yaml -r swift -n 5
[testenv:py3pep8]
basepython = python3