X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=pylint.cfg;h=5ae4ed551b18f65d21fe317aff61d01a40858aad;hb=d68951ac245150eeefa6e0f4156e4c1b5c9e9325;hp=82c19ae5f90093084d1521ebc29059b94eb8210b;hpb=66919d66b8ab63369266eaab8db1628501e884aa;p=csit.git diff --git a/pylint.cfg b/pylint.cfg index 82c19ae5f9..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, locally-disabled +disable=redefined-variable-type, locally-disabled, locally-enabled [REPORTS] @@ -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