X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=tox.ini;h=7cae5c70e9e8cf5f9b8b8dd8ddb30037f3d47ad3;hb=f2d880c000de212be9868dbdaf9c8beab7a81045;hp=18a849c8c2521d0912a4d28891f01a5e2a348a8b;hpb=ea7fe799db60f54722e75d0fbd1a5d2138774a22;p=transportpce.git diff --git a/tox.ini b/tox.ini index 18a849c8c..7cae5c70e 100644 --- a/tox.ini +++ b/tox.ini @@ -274,7 +274,7 @@ basepython = python3 deps = pylint>=2.6.0 allowlist_externals = find commands = - find transportpce_tests/ -name *.py -exec pylint --fail-under=10 --max-line-length=120 --disable=missing-docstring --disable=fixme --disable=duplicate-code --module-rgx="([a-z0-9_]+$)|([0-9.]{1,30}$)" --method-rgx="(([a-z_][a-zA-Z0-9_]{2,})|(_[a-z0-9_]*)|(__[a-zA-Z][a-zA-Z0-9_]+__))$" --variable-rgx="[a-zA-Z_][a-zA-Z0-9_]{1,30}$" \{\} + + find transportpce_tests/ -name *.py -exec pylint --fail-under=10 --max-line-length=120 --disable=missing-docstring,import-error --disable=fixme --disable=duplicate-code --module-rgx="([a-z0-9_]+$)|([0-9.]{1,30}$)" --method-rgx="(([a-z_][a-zA-Z0-9_]{2,})|(_[a-z0-9_]*)|(__[a-zA-Z][a-zA-Z0-9_]+__))$" --variable-rgx="[a-zA-Z_][a-zA-Z0-9_]{1,30}$" \{\} + [testenv:pyang] basepython = python3