Added Bandit
Change-Id: I9e3c548c23e2dc891cb7b1409b1df235706bbb17
This commit is contained in:
parent
9ed7577909
commit
6f6380ffc8
|
@ -10,3 +10,4 @@ coverage>=3.6 # Apache-2.0
|
||||||
#discover
|
#discover
|
||||||
#python-subunit>=0.0.18
|
#python-subunit>=0.0.18
|
||||||
sphinx!=1.3b1,<1.4,>=1.2.1 # BSD
|
sphinx!=1.3b1,<1.4,>=1.2.1 # BSD
|
||||||
|
bandit>=1.1.0 # Apache-2.0
|
||||||
|
|
4
tox.ini
4
tox.ini
|
@ -29,6 +29,10 @@ setenv = VIRTUAL_ENV={envdir}
|
||||||
commands =
|
commands =
|
||||||
flake8 swauth test
|
flake8 swauth test
|
||||||
flake8 --filename=swauth* bin
|
flake8 --filename=swauth* bin
|
||||||
|
bandit -r swauth -s B110,B309
|
||||||
|
|
||||||
|
[testenv:bandit]
|
||||||
|
commands = bandit -r swauth -s B110,B309
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
Loading…
Reference in New Issue