X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=tox.ini;h=4eb20a81e28ba5689b2b31ac5838501b8a23e465;hb=d777f2e588a321d5c01e2e50ffa5c8fc5a27c77c;hp=88cf1c4304b879b0d0fe0cb101147a7a507ab307;hpb=75d581a9d3ec7c11a9a696db4b271c2691c28f15;p=functest.git diff --git a/tox.ini b/tox.ini index 88cf1c430..4eb20a81e 100644 --- a/tox.ini +++ b/tox.ini @@ -37,36 +37,10 @@ commands = flake8 [testenv:pylint] basepython = python2.7 -whitelist_externals = bash -modules = - functest.opnfv_tests.openstack.cinder - functest.opnfv_tests.openstack.rally - functest.opnfv_tests.openstack.refstack - functest.opnfv_tests.openstack.tempest - functest.opnfv_tests.openstack.vmtp - functest.opnfv_tests.openstack.vping - functest.opnfv_tests.sdn.odl - functest.opnfv_tests.vnf.router - functest.tests.unit.odl - functest.tests.unit.openstack.rally - functest.tests.unit.openstack.tempest - functest.tests.unit.openstack.vmtp - functest.tests.unit.openstack.vping - functest.tests.unit.vnf.router - functest.tests.unit.utils - functest.utils.config - functest.utils.constants - functest.utils.env - functest.utils.functest_utils commands = - bash -c "\ - pylint -f parseable \ - --ignore-imports=y \ - --disable=locally-disabled functest | tee pylint.out" - pylint --reports=n --errors-only functest - pylint --disable=locally-disabled \ - --disable=duplicate-code \ - --ignore-imports=y --reports=n {[testenv:pylint]modules} + pylint \ + --ignore-imports=y --min-similarity-lines=10 \ + --disable=locally-disabled functest [testenv:yamllint] basepython = python2.7