Allow passing extra opts to e2e.test
[functest-kubernetes.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index c5a6f91..f4df0a9 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,7 +1,8 @@
 [tox]
-envlist = pep8,pylint,yamllint,ansiblelint,bashate,py27,py38,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
@@ -23,14 +24,15 @@ commands = flake8
 
 [testenv:pylint]
 basepython = python3.8
-commands = pylint --ignore-imports=y --disable=locally-disabled --reports=n functest_kubernetes
+commands = pylint \
+    --ignore-imports=y --min-similarity-lines=10 \
+    --disable=locally-disabled --reports=n functest_kubernetes
 
 [testenv:yamllint]
 basepython = python3.8
 files =
   .travis.yml
   docker
-  functest_kubernetes/rally/all-in-one.yaml
 commands =
   yamllint {[testenv:yamllint]files}
 
@@ -49,6 +51,7 @@ commands = nosetests functest_kubernetes
 basepython = python3.8
 files =
   build.sh
+  functest_kubernetes/ci/download_images.sh
 commands = bashate -e E005,E006,E042,E043 {[testenv:bashate]files}
 
 [testenv:perm]