diff options
author | Cedric Ollivier <cedric.ollivier@orange.com> | 2019-04-25 10:51:26 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2019-04-25 10:51:26 +0000 |
commit | 74e0ed9e0b339289e0684640c18125ac39efd0f6 (patch) | |
tree | d073a0b8b6adb53f8bd9c9351c2faa5d6b0d247a /tox.ini | |
parent | 12b5dda39a6d44ebdaf3a1cddf62e6b719d8399e (diff) | |
parent | 4731b17144909b9b7a745f8690b42f0c853771e7 (diff) |
Merge "Refactor modules to avoid duplicated code" into stable/hunter
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 32 |
1 files changed, 3 insertions, 29 deletions
@@ -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 |