X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=pylint.cfg;h=5ae4ed551b18f65d21fe317aff61d01a40858aad;hb=d68951ac245150eeefa6e0f4156e4c1b5c9e9325;hp=6a6e2865c6b2d8020a88bbbb1ff886c4d71f21ad;hpb=cf561a6e3d4c4fbd78ab6c9d0a9aa817bb3300fc;p=csit.git diff --git a/pylint.cfg b/pylint.cfg index 6a6e2865c6..5ae4ed551b 100644 --- a/pylint.cfg +++ b/pylint.cfg @@ -12,7 +12,7 @@ profile=no # Add files or directories to the blacklist. They should be base names, not # paths. -ignore=CVS +ignore=CVS, conf.py # Pickle collected data for later comparisons. persistent=yes @@ -21,6 +21,10 @@ persistent=yes # usually to register additional checkers. load-plugins= +# A comma-separated list of package or module names from where C extensions may +# be loaded. Extensions are loading into the active Python interpreter and may +# run arbitrary code +extension-pkg-whitelist=numpy, scipy [MESSAGES CONTROL] @@ -38,7 +42,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, locally-enabled [REPORTS] @@ -112,13 +116,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 @@ -278,3 +282,10 @@ max-public-methods=60 # Exceptions that will emit a warning when being caught. Defaults to # "Exception" overgeneral-exceptions=Exception + + +[LOGGING] + +# Format style used to check logging format string. `old` means using % +# formatting, while `new` is for `{}` formatting. +logging-format-style=fstr \ No newline at end of file