@@ -15,7 +15,7 @@ analyse-fallback-blocks = true
1515# A comma-separated list of package or module names from where C extensions may
1616# be loaded. Extensions are loading into the active Python interpreter and may
1717# run arbitrary code.
18- extension-pkg-allow-list = []
18+ # extension-pkg-allow-list =
1919
2020# A comma-separated list of package or module names from where C extensions may
2121# be loaded. Extensions are loading into the active Python interpreter and may
@@ -94,10 +94,6 @@ py-version = "3.9"
9494# source root.
9595# source-roots =
9696
97- # When enabled, pylint would attempt to guess common misconfiguration and emit
98- # user-friendly hints instead of false-positive error messages.
99- suggestion-mode = true
100-
10197# Allow loading of arbitrary C extensions. Extensions are imported into the
10298# active Python interpreter and may run arbitrary code.
10399# unsafe-load-any-extension =
@@ -206,6 +202,11 @@ module-naming-style = "snake_case"
206202# require a docstring.
207203no-docstring-rgx = " "
208204
205+ # Regular expression matching correct parameter specification variable names. If
206+ # left empty, parameter specification variable names will be checked with the set
207+ # naming style.
208+ # paramspec-rgx =
209+
209210# List of decorators that produce properties, such as abc.abstractproperty. Add
210211# to this list to register other decorators that produce valid properties. These
211212# decorators are taken in consideration only for invalid-name.
@@ -219,6 +220,10 @@ property-classes = ["abc.abstractproperty"]
219220# variable names will be checked with the set naming style.
220221# typevar-rgx =
221222
223+ # Regular expression matching correct type variable tuple names. If left empty,
224+ # type variable tuple names will be checked with the set naming style.
225+ # typevartuple-rgx =
226+
222227# Naming style matching correct variable names.
223228variable-naming-style = " snake_case"
224229
@@ -302,7 +307,8 @@ indent-after-paren = 4
302307# tab).
303308indent-string = " "
304309
305- # Maximum number of characters on a single line.
310+ # Maximum number of characters on a single line. Pylint's default of 100 is based
311+ # on PEP 8's guidance that teams may choose line lengths up to 99 characters.
306312max-line-length = 110
307313
308314# Maximum number of lines in a module.
@@ -373,20 +379,27 @@ confidence = ["HIGH", "CONTROL_FLOW", "INFERENCE", "INFERENCE_FAILURE", "UNDEFIN
373379# --enable=similarities". If you want to run only the classes checker, but have
374380# no Warning level messages displayed, use "--disable=all --enable=classes
375381# --disable=W".
376- disable = [" missing-module-docstring" , " duplicate-code" ]
382+ disable = [
383+ " locally-disabled" , " file-ignored" , " suppressed-message" , # Messages about explicitly disabled checks
384+ " use-implicit-booleaness-not-comparison-to-string" , " use-implicit-booleaness-not-comparison-to-zero" , # Messages that promote type-unsafety (??)
385+ " missing-module-docstring" , " duplicate-code"
386+ ]
377387
378388# Enable the message, report, category or checker with the given id(s). You can
379389# either give multiple identifier separated by comma (,) or put this option
380390# multiple time (only on the command line, not in the configuration file where it
381391# should appear only once). See also the "--disable" option for examples.
382- enable = [" useless-suppression" ]
392+ enable = [" useless-suppression" , " raw-checker-failed " , " bad-inline-option " , " deprecated-pragma " , " use-symbolic-message-instead " ]
383393
384394[tool .pylint .method_args ]
385395# List of qualified names (i.e., library.method) which require a timeout
386396# parameter e.g. 'requests.api.get,requests.api.post'
387397timeout-methods = [" requests.api.delete" , " requests.api.get" , " requests.api.head" , " requests.api.options" , " requests.api.patch" , " requests.api.post" , " requests.api.put" , " requests.api.request" ]
388398
389399[tool .pylint .miscellaneous ]
400+ # Whether or not to search for fixme's in docstrings.
401+ # check-fixme-in-docstring =
402+
390403# List of note tags to take in consideration, separated by a comma.
391404notes = [" FIXME" , " XXX" , " TODO" ]
392405
0 commit comments