Enable py36 in gates
[functest-kubernetes.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index dc3b2cb..9cbb88e 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
 [tox]
-envlist = pep8,pylint,yamllint,ansiblelint,bashate,py27
+envlist = pep8,pylint,yamllint,ansiblelint,bashate,py27,py36,bandit
 
 [testenv]
 usedevelop = True
@@ -23,8 +23,7 @@ commands = flake8
 
 [testenv:pylint]
 basepython = python2.7
-commands =
-  pylint --disable=locally-disabled --reports=n functest_kubernetes
+commands = pylint --disable=locally-disabled --reports=n functest_kubernetes
 
 [testenv:yamllint]
 basepython = python2.7
@@ -36,8 +35,11 @@ commands =
 
 [testenv:ansiblelint]
 basepython = python2.7
-commands =
-  ansible-lint ansible/site.yml
+commands = ansible-lint ansible/site.yml
+
+[testenv:bandit]
+basepython = python2.7
+commands = bandit -r functest_kubernetes -x tests -n 5 -ll
 
 [testenv:py36]
 commands = nosetests functest_kubernetes
@@ -46,4 +48,4 @@ commands = nosetests functest_kubernetes
 basepython = python2.7
 files =
   build.sh
-commands = bashate {[testenv:bashate]files}
+commands = bashate -e E005,E006,E042,E043 {[testenv:bashate]files}