X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=pylint.cfg;h=d2ea931e6f46be37bfafd2f2e83322c1d917d9f5;hp=37622580ac2bc8012cd5eede37b19c812d4aba0b;hb=032f90ff6bb8f37c429097fdf497d892988ff3be;hpb=33499c81c94c2d3baef9d3e9f061cd76ef86fa74 diff --git a/pylint.cfg b/pylint.cfg index 37622580ac..d2ea931e6f 100644 --- a/pylint.cfg +++ b/pylint.cfg @@ -38,7 +38,7 @@ load-plugins= # --enable=similarities". If you want to run only the classes checker, but have # no Warning level messages displayed, use"--disable=all --enable=classes # --disable=W" -#disable= +disable=redefined-variable-type [REPORTS] @@ -88,7 +88,7 @@ single-line-if-stmt=no no-space-check=trailing-comma,dict-separator # Maximum number of lines in a module -max-module-lines=1000 +max-module-lines=2000 # String used as indentation unit. This is usually " " (4 spaces) or "\t" (1 # tab). @@ -112,13 +112,13 @@ additional-builtins= [SIMILARITIES] # Minimum lines number of a similarity. -min-similarity-lines=4 +min-similarity-lines=14 # Ignore comments when computing similarities. ignore-comments=yes # Ignore docstrings when computing similarities. -ignore-docstrings=yes +ignore-docstrings=no # Ignore imports when computing similarities. ignore-imports=no @@ -145,7 +145,7 @@ class-rgx=[A-Z_][a-zA-Z0-9]+$ function-rgx=[a-z_][a-z0-9_]{2,30}$ # Regular expression which should only match correct method names -method-rgx=[a-z_][a-z0-9_]{2,30}$ +method-rgx=[a-z_][a-z0-9_]{2,50}$ # Regular expression which should only match correct instance attribute names attr-rgx=[a-z_][a-z0-9_]{2,30}$ @@ -182,7 +182,7 @@ docstring-min-length=-1 [MISCELLANEOUS] # List of note tags to take in consideration, separated by a comma. -notes=FIXME,XXX,TODO +notes=FIXME [TYPECHECK] @@ -242,35 +242,35 @@ int-import-graph= [DESIGN] # Maximum number of arguments for function / method -max-args=5 +max-args=12 # Argument names that match this expression will be ignored. Default to name # with leading underscore ignored-argument-names=_.* # Maximum number of locals for function / method body -max-locals=15 +max-locals=20 # Maximum number of return / yield for function / method body max-returns=6 # Maximum number of branch for function / method body -max-branches=12 +max-branches=20 # Maximum number of statements in function / method body -max-statements=50 +max-statements=60 # Maximum number of parents for a class (see R0901). max-parents=7 # Maximum number of attributes for a class (see R0902). -max-attributes=7 +max-attributes=10 # Minimum number of public methods for a class (see R0903). -min-public-methods=2 +min-public-methods=0 # Maximum number of public methods for a class (see R0904). -max-public-methods=20 +max-public-methods=60 [EXCEPTIONS]