Use pip==20.2.4 in tox venv
[functest-kubernetes.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index 857ba94..b62b2c3 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -2,6 +2,7 @@
 envlist = pep8,pylint,yamllint,ansiblelint,bashate,py27,py36,bandit
 
 [testenv]
+pip_version = pip==20.2.4
 usedevelop = True
 deps =
   -chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=stable/hunter
@@ -23,7 +24,9 @@ commands = flake8
 
 [testenv:pylint]
 basepython = python2.7
-commands = pylint --disable=locally-disabled,super-on-old-class --reports=n functest_kubernetes
+commands = pylint \
+    --ignore-imports=y --min-similarity-lines=10 \
+    --disable=locally-disabled,super-on-old-class --reports=n functest_kubernetes
 
 [testenv:yamllint]
 basepython = python2.7