X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=pylint.cfg;h=82b3a0621584e50ce203a6ec172fb8ff5e26c73c;hp=82c19ae5f90093084d1521ebc29059b94eb8210b;hb=a3cfee36f5eec384bff4bfbdf8bfe272cb001ebe;hpb=66919d66b8ab63369266eaab8db1628501e884aa diff --git a/pylint.cfg b/pylint.cfg index 82c19ae5f9..82b3a06215 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,8 +42,9 @@ 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 +# TODO: Add explanation when disabling an id, either locally or globally. [REPORTS] @@ -278,3 +283,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