Install setuptools_scm before xrally
[functest-kubernetes.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index 95a119f..f4df0a9 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,7 +1,8 @@
 [tox]
-envlist = pep8,pylint,yamllint,ansiblelint,bashate,py27,py37,bandit,perm
+envlist = pep8,pylint,yamllint,ansiblelint,bashate,py38,bandit,perm
 
 [testenv]
+pip_version = pip==20.2.4
 usedevelop = True
 deps =
   -chttps://git.opnfv.org/functest/plain/upper-constraints.txt
@@ -18,41 +19,43 @@ commands = nosetests --with-xunit \
   functest_kubernetes
 
 [testenv:pep8]
-basepython = python3.7
+basepython = python3.8
 commands = flake8
 
 [testenv:pylint]
-basepython = python3.7
-commands = pylint --disable=locally-disabled --reports=n functest_kubernetes
+basepython = python3.8
+commands = pylint \
+    --ignore-imports=y --min-similarity-lines=10 \
+    --disable=locally-disabled --reports=n functest_kubernetes
 
 [testenv:yamllint]
-basepython = python3.7
+basepython = python3.8
 files =
   .travis.yml
   docker
-  functest_kubernetes/rally/all-in-one.yaml
 commands =
   yamllint {[testenv:yamllint]files}
 
 [testenv:ansiblelint]
-basepython = python3.7
-commands = ansible-lint ansible/site.yml
+basepython = python3.8
+commands = ansible-lint -x303 ansible/site.yml
 
 [testenv:bandit]
-basepython = python3.7
+basepython = python3.8
 commands = bandit -r functest_kubernetes -x tests -n 5 -ll
 
 [testenv:py37]
 commands = nosetests functest_kubernetes
 
 [testenv:bashate]
-basepython = python3.7
+basepython = python3.8
 files =
   build.sh
+  functest_kubernetes/ci/download_images.sh
 commands = bashate -e E005,E006,E042,E043 {[testenv:bashate]files}
 
 [testenv:perm]
-basepython = python3.7
+basepython = python3.8
 whitelist_externals = bash
 path=. -not -path './.tox/*' -not -path './.git/*' -not -path './doc/pres/reveal.js/*'
 commands =