[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
[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}
basepython = python3.8
files =
build.sh
+ functest_kubernetes/ci/download_images.sh
commands = bashate -e E005,E006,E042,E043 {[testenv:bashate]files}
[testenv:perm]