3 # A comma-separated list of package or module names from where C extensions may
4 # be loaded. Extensions are loading into the active Python interpreter and may
6 extension-pkg-whitelist=
8 # Add files or directories to the blacklist. They should be base names, not
12 # Add files or directories matching the regex patterns to the blacklist. The
13 # regex matches against base names, not paths.
16 # Python code to execute, usually for sys.path manipulation such as
20 # Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the
21 # number of processors available to use.
24 # Control the amount of potential inferred values when inferring a single
25 # object. This can help the performance when dealing with large functions or
26 # complex, nested conditions.
27 limit-inference-results=100
29 # List of plugins (as comma separated values of python modules names) to load,
30 # usually to register additional checkers.
33 # Pickle collected data for later comparisons.
36 # Specify a configuration file.
39 # When enabled, pylint would attempt to guess common misconfiguration and emit
40 # user-friendly hints instead of false-positive error messages.
43 # Allow loading of arbitrary C extensions. Extensions are imported into the
44 # active Python interpreter and may run arbitrary code.
45 unsafe-load-any-extension=no
50 # Only show warnings with the listed confidence levels. Leave empty to show
51 # all. Valid levels: HIGH, INFERENCE, INFERENCE_FAILURE, UNDEFINED.
54 # Disable the message, report, category or checker with the given id(s). You
55 # can either give multiple identifiers separated by comma (,) or put this
56 # option multiple times (only on the command line, not in the configuration
57 # file where it should appear only once). You can also use "--disable=all" to
58 # disable everything first and then reenable specific checks. For example, if
59 # you want to run only the similarities checker, you can use "--disable=all
60 # --enable=similarities". If you want to run only the classes checker, but have
61 # no Warning level messages displayed, use "--disable=all --enable=classes
65 consider-using-f-string,
67 consider-using-ternary,
83 import-outside-toplevel,
85 consider-using-min-builtin,
88 # Enable the message, report, category or checker with the given id(s). You can
89 # either give multiple identifier separated by comma (,) or put this option
90 # multiple time (only on the command line, not in the configuration file where
91 # it should appear only once). See also the "--disable" option for examples.
92 enable=c-extension-no-member
97 # Python expression which should return a note less than 10 (10 is the highest
98 # note). You have access to the variables errors warning, statement which
99 # respectively contain the number of errors / warnings messages and the total
100 # number of statements analyzed. This is used by the global evaluation report
102 evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
104 # Template used to display messages. This is a python new-style format string
105 # used to format the message information. See doc for all details.
108 # Set the output format. Available formats are text, parseable, colorized, json
109 # and msvs (visual studio). You can also give a reporter class, e.g.
110 # mypackage.mymodule.MyReporterClass.
111 output-format=colorized
113 # Tells whether to display a full report or only the messages.
116 # Activate the evaluation score.
122 # Maximum number of nested blocks for function / method body
125 # Complete name of functions that never returns. When checking for
126 # inconsistent-return-statements if a never returning function is called then
127 # it will be considered as an explicit return statement and no message will be
129 never-returning-functions=sys.exit
134 # Format style used to check logging format string. `old` means using %
135 # formatting, while `new` is for `{}` formatting.
136 logging-format-style=old
138 # Logging modules to check that the string format arguments are in logging
139 # function parameter format.
140 logging-modules=logging
145 # List of note tags to take in consideration, separated by a comma.
153 # Limits count of emitted suggestions for spelling mistakes.
154 max-spelling-suggestions=4
156 # Spelling dictionary name. Available dictionaries: none. To make it working
157 # install python-enchant package..
160 # List of comma separated words that should not be checked.
161 spelling-ignore-words=usr,bin,env
163 # A path to a file that contains private dictionary; one word per line.
164 spelling-private-dict-file=.local.dict
166 # Tells whether to store unknown words to indicated private dictionary in
167 # --spelling-private-dict-file option instead of raising a message.
168 spelling-store-unknown-words=no
173 # Naming style matching correct argument names.
174 argument-naming-style=snake_case
176 # Regular expression matching correct argument names. Overrides argument-
180 # Naming style matching correct attribute names.
181 attr-naming-style=snake_case
183 # Regular expression matching correct attribute names. Overrides attr-naming-
187 # Bad variable names which should always be refused, separated by a comma.
195 # Naming style matching correct class attribute names.
196 class-attribute-naming-style=any
198 # Regular expression matching correct class attribute names. Overrides class-
199 # attribute-naming-style.
200 #class-attribute-rgx=
202 # Naming style matching correct class names.
203 class-naming-style=PascalCase
205 # Regular expression matching correct class names. Overrides class-naming-
209 # Naming style matching correct constant names.
210 const-naming-style=UPPER_CASE
212 # Regular expression matching correct constant names. Overrides const-naming-
216 # Minimum line length for functions/classes that require docstrings, shorter
218 docstring-min-length=-1
220 # Naming style matching correct function names.
221 function-naming-style=snake_case
223 # Regular expression matching correct function names. Overrides function-
227 # Good variable names which should always be accepted, separated by a comma.
235 # Include a hint for the correct naming format with invalid-name.
236 include-naming-hint=no
238 # Naming style matching correct inline iteration names.
239 inlinevar-naming-style=any
241 # Regular expression matching correct inline iteration names. Overrides
242 # inlinevar-naming-style.
245 # Naming style matching correct method names.
246 method-naming-style=snake_case
248 # Regular expression matching correct method names. Overrides method-naming-
252 # Naming style matching correct module names.
253 module-naming-style=snake_case
255 # Regular expression matching correct module names. Overrides module-naming-
259 # Colon-delimited sets of names that determine each other's naming style when
260 # the name regexes allow several styles.
263 # Regular expression which should only match function or class names that do
264 # not require a docstring.
267 # List of decorators that produce properties, such as abc.abstractproperty. Add
268 # to this list to register other decorators that produce valid properties.
269 # These decorators are taken in consideration only for invalid-name.
270 property-classes=abc.abstractproperty
272 # Naming style matching correct variable names.
273 variable-naming-style=snake_case
275 # Regular expression matching correct variable names. Overrides variable-
282 # This flag controls whether the implicit-str-concat-in-sequence should
283 # generate a warning on implicit string concatenation in sequences defined over
285 check-str-concat-over-line-jumps=no
290 # Ignore comments when computing similarities.
293 # Ignore docstrings when computing similarities.
294 ignore-docstrings=yes
296 # Ignore imports when computing similarities.
299 # Minimum lines number of a similarity.
300 min-similarity-lines=4
305 # List of additional names supposed to be defined in builtins. Remember that
306 # you should avoid defining new builtins when possible.
309 # Tells whether unused global variables should be treated as a violation.
310 allow-global-unused-variables=yes
312 # List of strings which can identify a callback function by name. A callback
313 # name must start or end with one of those strings.
317 # A regular expression matching the name of dummy variables (i.e. expected to
319 dummy-variables-rgx=_+$|(_[a-zA-Z0-9_]*[a-zA-Z0-9]+?$)|dummy|^ignored_|^unused_
321 # Argument names that match this expression will be ignored. Default to name
322 # with leading underscore.
323 ignored-argument-names=_.*|^ignored_|^unused_
325 # Tells whether we should check for unused import in __init__ files.
328 # List of qualified module names which can have objects that can redefine
330 redefining-builtins-modules=six.moves,past.builtins,future.builtins,builtins,io
335 # List of decorators that produce context managers, such as
336 # contextlib.contextmanager. Add to this list to register other decorators that
337 # produce valid context managers.
338 contextmanager-decorators=contextlib.contextmanager
340 # List of members which are set dynamically and missed by pylint inference
341 # system, and so shouldn't trigger E1101 when accessed. Python regular
342 # expressions are accepted.
345 # Tells whether missing members accessed in mixin class should be ignored. A
346 # mixin class is detected if its name ends with "mixin" (case insensitive).
347 ignore-mixin-members=yes
349 # Tells whether to warn about missing members when the owner of the attribute
350 # is inferred to be None.
353 # This flag controls whether pylint should warn about no-member and similar
354 # checks whenever an opaque object is returned when inferring. The inference
355 # can return multiple potential results while evaluating a Python object, but
356 # some branches might not be evaluated, which results in partial inference. In
357 # that case, it might be useful to still emit no-member and other checks for
358 # the rest of the inferred objects.
359 ignore-on-opaque-inference=yes
361 # List of class names for which member attributes should not be checked (useful
362 # for classes with dynamically set attributes). This supports the use of
364 ignored-classes=optparse.Values,thread._local,_thread._local
366 # List of module names for which member attributes should not be checked
367 # (useful for modules/projects where namespaces are manipulated during runtime
368 # and thus existing member attributes cannot be deduced by static analysis. It
369 # supports qualified module names, as well as Unix pattern matching.
372 # Show a hint with possible names when a member name was not found. The aspect
373 # of finding the hint is based on edit distance.
374 missing-member-hint=yes
376 # The minimum edit distance a name should have in order to be considered a
377 # similar match for a missing member name.
378 missing-member-hint-distance=1
380 # The total number of similar names that should be taken in consideration when
381 # showing a hint for a missing member.
382 missing-member-max-choices=1
387 # Expected format of line ending, e.g. empty (any line ending), LF or CRLF.
388 expected-line-ending-format=LF
390 # Regexp for a line that is allowed to be longer than the limit.
391 ignore-long-lines=^\s*(# )?<?https?://\S+>?$
393 # Number of spaces of indent required inside a hanging or continued line.
396 # String used as indentation unit. This is usually " " (4 spaces) or "\t" (1
400 # Maximum number of characters on a single line.
403 # Maximum number of lines in a module.
404 max-module-lines=10000
406 # Allow the body of a class to be on the same line as the declaration if body
407 # contains single statement.
408 single-line-class-stmt=no
410 # Allow the body of an if to be on the same line as the test if there is no
412 single-line-if-stmt=no
417 # List of method names used to declare (i.e. assign) instance attributes.
418 defining-attr-methods=__init__,
422 # List of member names, which should be excluded from the protected access
424 exclude-protected=_asdict,
430 # List of valid names for the first argument in a class method.
431 valid-classmethod-first-arg=cls
433 # List of valid names for the first argument in a metaclass class method.
434 valid-metaclass-classmethod-first-arg=cls
439 # Maximum number of arguments for function / method.
442 # Maximum number of attributes for a class (see R0902).
445 # Maximum number of boolean expressions in an if statement.
448 # Maximum number of branch for function / method body.
451 # Maximum number of locals for function / method body.
454 # Maximum number of parents for a class (see R0901).
457 # Maximum number of public methods for a class (see R0904).
458 max-public-methods=420
460 # Maximum number of return / yield for function / method body.
463 # Maximum number of statements in function / method body.
466 # Minimum number of public methods for a class (see R0903).
472 # Allow wildcard imports from modules that define __all__.
473 allow-wildcard-with-all=no
475 # Analyse import fallback blocks. This can be used to support both Python 2 and
476 # 3 compatible code, which means that the block might have code that exists
477 # only in one or another interpreter, leading to false positives when analysed.
478 analyse-fallback-blocks=no
480 # Deprecated modules which should not be used, separated by a comma.
481 deprecated-modules=optparse,tkinter.tix
483 # Create a graph of external dependencies in the given file (report RP0402 must
487 # Create a graph of every (i.e. internal and external) dependencies in the
488 # given file (report RP0402 must not be disabled).
491 # Create a graph of internal dependencies in the given file (report RP0402 must
495 # Force import order to recognize a module as part of the standard
496 # compatibility libraries.
497 known-standard-library=
499 # Force import order to recognize a module as part of a third party library.
500 known-third-party=enchant
505 # Exceptions that will emit a warning when being caught. Defaults to
506 # "BaseException, Exception".
507 overgeneral-exceptions=builtins.BaseException,