X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=tox.ini;h=c1b844bd8a9309eb34caecee0a3fd480e93e5329;hb=507ef682cfb0f05f843ab36e67b70db41f2863b4;hp=e3297fc1f69546d8b59eb49d562cbc55b40067ca;hpb=bb4d1a4c6efb0104f9a3183b3740c880fdbbc8e8;p=functest-kubernetes.git diff --git a/tox.ini b/tox.ini index e3297fc1..c1b844bd 100644 --- a/tox.ini +++ b/tox.ini @@ -1,10 +1,10 @@ [tox] -envlist = pep8,pylint,yamllint,ansiblelint,bashate,py27,py36,bandit,perm +envlist = pep8,pylint,yamllint,ansiblelint,bashate,py27,py36,bandit [testenv] usedevelop = True deps = - -chttps://git.opnfv.org/functest/plain/upper-constraints.txt + -chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=stable/hunter -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/stable/rocky/upper-constraints.txt} -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt @@ -23,19 +23,20 @@ commands = flake8 [testenv:pylint] basepython = python2.7 -commands = pylint --disable=locally-disabled --reports=n functest_kubernetes +commands = pylint --ignore-imports=y --disable=locally-disabled,super-on-old-class --reports=n functest_kubernetes [testenv:yamllint] basepython = python2.7 files = .travis.yml docker + functest_kubernetes/rally/all-in-one.yaml commands = yamllint {[testenv:yamllint]files} [testenv:ansiblelint] basepython = python2.7 -commands = ansible-lint ansible/site.yml +commands = ansible-lint -x303 ansible/site.yml [testenv:bandit] basepython = python2.7