Added Bandit

Change-Id: I9e3c548c23e2dc891cb7b1409b1df235706bbb17
This commit is contained in:
Ondřej Nový 2016-10-17 20:58:06 +02:00
parent 9ed7577909
commit 6f6380ffc8
2 changed files with 5 additions and 0 deletions

View File

@ -10,3 +10,4 @@ coverage>=3.6 # Apache-2.0
#discover
#python-subunit>=0.0.18
sphinx!=1.3b1,<1.4,>=1.2.1 # BSD
bandit>=1.1.0 # Apache-2.0

View File

@ -29,6 +29,10 @@ setenv = VIRTUAL_ENV={envdir}
commands =
flake8 swauth test
flake8 --filename=swauth* bin
bandit -r swauth -s B110,B309
[testenv:bandit]
commands = bandit -r swauth -s B110,B309
[testenv:venv]
commands = {posargs}