X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=pylint.cfg;h=82c19ae5f90093084d1521ebc29059b94eb8210b;hp=6052e32da32d734a274b76bd5e1a9a4b9782676a;hb=d166ae0881c29dfd05ed61b9a12156f17981bb6d;hpb=f112262b6d3db251fe3171333adc48ee14ebed22 diff --git a/pylint.cfg b/pylint.cfg index 6052e32da3..82c19ae5f9 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=redefined-variable-type +disable=redefined-variable-type, locally-disabled [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,40}$ +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}$ @@ -242,7 +242,7 @@ int-import-graph= [DESIGN] # Maximum number of arguments for function / method -max-args=10 +max-args=12 # Argument names that match this expression will be ignored. Default to name # with leading underscore @@ -270,7 +270,7 @@ max-attributes=10 min-public-methods=0 # Maximum number of public methods for a class (see R0904). -max-public-methods=50 +max-public-methods=60 [EXCEPTIONS]