X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=tox.ini;h=f4df0a90e93299bd9a71190b051288c0cb9a406c;hb=refs%2Fchanges%2F89%2F72689%2F1;hp=c5a6f9194e0f1c5daf95a8fb9f082185d43b0885;hpb=98d9f93337ab514fa9aafc1cd1e87473de68b364;p=functest-kubernetes.git diff --git a/tox.ini b/tox.ini index c5a6f919..f4df0a90 100644 --- 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]