From c8a0b6f05eab2b7b5ca50dc72e780a2460466695 Mon Sep 17 00:00:00 2001 From: Ian Cordasco Date: Sun, 8 May 2016 14:04:46 -0500 Subject: [PATCH] Add bandit for security linting --- tox.ini | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tox.ini b/tox.ini index d93448f..e11577a 100644 --- a/tox.ini +++ b/tox.ini @@ -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]