Add bandit for security linting

This commit is contained in:
Ian Cordasco 2016-05-08 14:04:46 -05:00
parent 414922d08e
commit c8a0b6f05e

12
tox.ini
View file

@ -58,6 +58,16 @@ deps =
commands =
mypy flake8
[testenv:bandit]
basepython = python3
skipsdist = true
skip_install = true
use_develop = false
deps =
bandit
commands =
bandit -r flake8/
[testenv:linters]
basepython = python3
skipsdist = true
@ -67,10 +77,12 @@ deps =
{[testenv:flake8]deps}
{[testenv:pylint]deps}
{[testenv:doc8]deps}
{[testenv:bandit]deps}
commands =
{[testenv:flake8]commands}
{[testenv:pylint]commands}
{[testenv:doc8]commands}
{[testenv:bandit]commands}
# Documentation
[testenv:docs]