Clement Vachet commited on
Commit
e3bffba
·
1 Parent(s): a5ac89c

Add pylint configuration file

Browse files
Files changed (1) hide show
  1. .pylintrc +647 -0
.pylintrc ADDED
@@ -0,0 +1,647 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [MAIN]
2
+
3
+ # Analyse import fallback blocks. This can be used to support both Python 2 and
4
+ # 3 compatible code, which means that the block might have code that exists
5
+ # only in one or another interpreter, leading to false positives when analysed.
6
+ analyse-fallback-blocks=no
7
+
8
+ # Clear in-memory caches upon conclusion of linting. Useful if running pylint
9
+ # in a server-like mode.
10
+ clear-cache-post-run=no
11
+
12
+ # Load and enable all available extensions. Use --list-extensions to see a list
13
+ # all available extensions.
14
+ #enable-all-extensions=
15
+
16
+ # In error mode, messages with a category besides ERROR or FATAL are
17
+ # suppressed, and no reports are done by default. Error mode is compatible with
18
+ # disabling specific errors.
19
+ #errors-only=
20
+
21
+ # Always return a 0 (non-error) status code, even if lint errors are found.
22
+ # This is primarily useful in continuous integration scripts.
23
+ #exit-zero=
24
+
25
+ # A comma-separated list of package or module names from where C extensions may
26
+ # be loaded. Extensions are loading into the active Python interpreter and may
27
+ # run arbitrary code.
28
+ extension-pkg-allow-list=
29
+
30
+ # A comma-separated list of package or module names from where C extensions may
31
+ # be loaded. Extensions are loading into the active Python interpreter and may
32
+ # run arbitrary code. (This is an alternative name to extension-pkg-allow-list
33
+ # for backward compatibility.)
34
+ extension-pkg-whitelist=
35
+
36
+ # Return non-zero exit code if any of these messages/categories are detected,
37
+ # even if score is above --fail-under value. Syntax same as enable. Messages
38
+ # specified are enabled, while categories only check already-enabled messages.
39
+ fail-on=
40
+
41
+ # Specify a score threshold under which the program will exit with error.
42
+ fail-under=10
43
+
44
+ # Interpret the stdin as a python script, whose filename needs to be passed as
45
+ # the module_or_package argument.
46
+ #from-stdin=
47
+
48
+ # Files or directories to be skipped. They should be base names, not paths.
49
+ ignore=CVS
50
+
51
+ # Add files or directories matching the regular expressions patterns to the
52
+ # ignore-list. The regex matches against paths and can be in Posix or Windows
53
+ # format. Because '\\' represents the directory delimiter on Windows systems,
54
+ # it can't be used as an escape character.
55
+ ignore-paths=
56
+
57
+ # Files or directories matching the regular expression patterns are skipped.
58
+ # The regex matches against base names, not paths. The default value ignores
59
+ # Emacs file locks
60
+ ignore-patterns=^\.#
61
+
62
+ # List of module names for which member attributes should not be checked and
63
+ # will not be imported (useful for modules/projects where namespaces are
64
+ # manipulated during runtime and thus existing member attributes cannot be
65
+ # deduced by static analysis). It supports qualified module names, as well as
66
+ # Unix pattern matching.
67
+ ignored-modules=
68
+
69
+ # Python code to execute, usually for sys.path manipulation such as
70
+ # pygtk.require().
71
+ #init-hook=
72
+
73
+ # Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the
74
+ # number of processors available to use, and will cap the count on Windows to
75
+ # avoid hangs.
76
+ jobs=1
77
+
78
+ # Control the amount of potential inferred values when inferring a single
79
+ # object. This can help the performance when dealing with large functions or
80
+ # complex, nested conditions.
81
+ limit-inference-results=100
82
+
83
+ # List of plugins (as comma separated values of python module names) to load,
84
+ # usually to register additional checkers.
85
+ load-plugins=pylint_pytest
86
+
87
+ # Pickle collected data for later comparisons.
88
+ persistent=yes
89
+
90
+ # Resolve imports to .pyi stubs if available. May reduce no-member messages and
91
+ # increase not-an-iterable messages.
92
+ prefer-stubs=no
93
+
94
+ # Minimum Python version to use for version dependent checks. Will default to
95
+ # the version used to run pylint.
96
+ py-version=3.12
97
+
98
+ # Discover python modules and packages in the file system subtree.
99
+ recursive=no
100
+
101
+ # Add paths to the list of the source roots. Supports globbing patterns. The
102
+ # source root is an absolute path or a path relative to the current working
103
+ # directory used to determine a package namespace for modules located under the
104
+ # source root.
105
+ source-roots=
106
+
107
+ # When enabled, pylint would attempt to guess common misconfiguration and emit
108
+ # user-friendly hints instead of false-positive error messages.
109
+ suggestion-mode=yes
110
+
111
+ # Allow loading of arbitrary C extensions. Extensions are imported into the
112
+ # active Python interpreter and may run arbitrary code.
113
+ unsafe-load-any-extension=no
114
+
115
+ # In verbose mode, extra non-checker-related info will be displayed.
116
+ #verbose=
117
+
118
+
119
+ [BASIC]
120
+
121
+ # Naming style matching correct argument names.
122
+ argument-naming-style=snake_case
123
+
124
+ # Regular expression matching correct argument names. Overrides argument-
125
+ # naming-style. If left empty, argument names will be checked with the set
126
+ # naming style.
127
+ #argument-rgx=
128
+
129
+ # Naming style matching correct attribute names.
130
+ attr-naming-style=snake_case
131
+
132
+ # Regular expression matching correct attribute names. Overrides attr-naming-
133
+ # style. If left empty, attribute names will be checked with the set naming
134
+ # style.
135
+ #attr-rgx=
136
+
137
+ # Bad variable names which should always be refused, separated by a comma.
138
+ bad-names=foo,
139
+ bar,
140
+ baz,
141
+ toto,
142
+ tutu,
143
+ tata
144
+
145
+ # Bad variable names regexes, separated by a comma. If names match any regex,
146
+ # they will always be refused
147
+ bad-names-rgxs=
148
+
149
+ # Naming style matching correct class attribute names.
150
+ class-attribute-naming-style=any
151
+
152
+ # Regular expression matching correct class attribute names. Overrides class-
153
+ # attribute-naming-style. If left empty, class attribute names will be checked
154
+ # with the set naming style.
155
+ #class-attribute-rgx=
156
+
157
+ # Naming style matching correct class constant names.
158
+ class-const-naming-style=UPPER_CASE
159
+
160
+ # Regular expression matching correct class constant names. Overrides class-
161
+ # const-naming-style. If left empty, class constant names will be checked with
162
+ # the set naming style.
163
+ #class-const-rgx=
164
+
165
+ # Naming style matching correct class names.
166
+ class-naming-style=PascalCase
167
+
168
+ # Regular expression matching correct class names. Overrides class-naming-
169
+ # style. If left empty, class names will be checked with the set naming style.
170
+ #class-rgx=
171
+
172
+ # Naming style matching correct constant names.
173
+ const-naming-style=UPPER_CASE
174
+
175
+ # Regular expression matching correct constant names. Overrides const-naming-
176
+ # style. If left empty, constant names will be checked with the set naming
177
+ # style.
178
+ #const-rgx=
179
+
180
+ # Minimum line length for functions/classes that require docstrings, shorter
181
+ # ones are exempt.
182
+ docstring-min-length=-1
183
+
184
+ # Naming style matching correct function names.
185
+ function-naming-style=snake_case
186
+
187
+ # Regular expression matching correct function names. Overrides function-
188
+ # naming-style. If left empty, function names will be checked with the set
189
+ # naming style.
190
+ #function-rgx=
191
+
192
+ # Good variable names which should always be accepted, separated by a comma.
193
+ good-names=i,
194
+ j,
195
+ k,
196
+ ex,
197
+ Run,
198
+ _
199
+
200
+ # Good variable names regexes, separated by a comma. If names match any regex,
201
+ # they will always be accepted
202
+ good-names-rgxs=
203
+
204
+ # Include a hint for the correct naming format with invalid-name.
205
+ include-naming-hint=no
206
+
207
+ # Naming style matching correct inline iteration names.
208
+ inlinevar-naming-style=any
209
+
210
+ # Regular expression matching correct inline iteration names. Overrides
211
+ # inlinevar-naming-style. If left empty, inline iteration names will be checked
212
+ # with the set naming style.
213
+ #inlinevar-rgx=
214
+
215
+ # Naming style matching correct method names.
216
+ method-naming-style=snake_case
217
+
218
+ # Regular expression matching correct method names. Overrides method-naming-
219
+ # style. If left empty, method names will be checked with the set naming style.
220
+ #method-rgx=
221
+
222
+ # Naming style matching correct module names.
223
+ module-naming-style=snake_case
224
+
225
+ # Regular expression matching correct module names. Overrides module-naming-
226
+ # style. If left empty, module names will be checked with the set naming style.
227
+ #module-rgx=
228
+
229
+ # Colon-delimited sets of names that determine each other's naming style when
230
+ # the name regexes allow several styles.
231
+ name-group=
232
+
233
+ # Regular expression which should only match function or class names that do
234
+ # not require a docstring.
235
+ no-docstring-rgx=^_
236
+
237
+ # List of decorators that produce properties, such as abc.abstractproperty. Add
238
+ # to this list to register other decorators that produce valid properties.
239
+ # These decorators are taken in consideration only for invalid-name.
240
+ property-classes=abc.abstractproperty
241
+
242
+ # Regular expression matching correct type alias names. If left empty, type
243
+ # alias names will be checked with the set naming style.
244
+ #typealias-rgx=
245
+
246
+ # Regular expression matching correct type variable names. If left empty, type
247
+ # variable names will be checked with the set naming style.
248
+ #typevar-rgx=
249
+
250
+ # Naming style matching correct variable names.
251
+ variable-naming-style=snake_case
252
+
253
+ # Regular expression matching correct variable names. Overrides variable-
254
+ # naming-style. If left empty, variable names will be checked with the set
255
+ # naming style.
256
+ #variable-rgx=
257
+
258
+
259
+ [CLASSES]
260
+
261
+ # Warn about protected attribute access inside special methods
262
+ check-protected-access-in-special-methods=no
263
+
264
+ # List of method names used to declare (i.e. assign) instance attributes.
265
+ defining-attr-methods=__init__,
266
+ __new__,
267
+ setUp,
268
+ asyncSetUp,
269
+ __post_init__
270
+
271
+ # List of member names, which should be excluded from the protected access
272
+ # warning.
273
+ exclude-protected=_asdict,_fields,_replace,_source,_make,os._exit
274
+
275
+ # List of valid names for the first argument in a class method.
276
+ valid-classmethod-first-arg=cls
277
+
278
+ # List of valid names for the first argument in a metaclass class method.
279
+ valid-metaclass-classmethod-first-arg=mcs
280
+
281
+
282
+ [DESIGN]
283
+
284
+ # List of regular expressions of class ancestor names to ignore when counting
285
+ # public methods (see R0903)
286
+ exclude-too-few-public-methods=
287
+
288
+ # List of qualified class names to ignore when counting class parents (see
289
+ # R0901)
290
+ ignored-parents=
291
+
292
+ # Maximum number of arguments for function / method.
293
+ max-args=5
294
+
295
+ # Maximum number of attributes for a class (see R0902).
296
+ max-attributes=7
297
+
298
+ # Maximum number of boolean expressions in an if statement (see R0916).
299
+ max-bool-expr=5
300
+
301
+ # Maximum number of branch for function / method body.
302
+ max-branches=12
303
+
304
+ # Maximum number of locals for function / method body.
305
+ max-locals=15
306
+
307
+ # Maximum number of parents for a class (see R0901).
308
+ max-parents=7
309
+
310
+ # Maximum number of positional arguments for function / method.
311
+ max-positional-arguments=5
312
+
313
+ # Maximum number of public methods for a class (see R0904).
314
+ max-public-methods=20
315
+
316
+ # Maximum number of return / yield for function / method body.
317
+ max-returns=6
318
+
319
+ # Maximum number of statements in function / method body.
320
+ max-statements=50
321
+
322
+ # Minimum number of public methods for a class (see R0903).
323
+ min-public-methods=2
324
+
325
+
326
+ [EXCEPTIONS]
327
+
328
+ # Exceptions that will emit a warning when caught.
329
+ overgeneral-exceptions=builtins.BaseException,builtins.Exception
330
+
331
+
332
+ [FORMAT]
333
+
334
+ # Expected format of line ending, e.g. empty (any line ending), LF or CRLF.
335
+ expected-line-ending-format=
336
+
337
+ # Regexp for a line that is allowed to be longer than the limit.
338
+ ignore-long-lines=^\s*(# )?<?https?://\S+>?$
339
+
340
+ # Number of spaces of indent required inside a hanging or continued line.
341
+ indent-after-paren=4
342
+
343
+ # String used as indentation unit. This is usually " " (4 spaces) or "\t" (1
344
+ # tab).
345
+ indent-string=' '
346
+
347
+ # Maximum number of characters on a single line.
348
+ max-line-length=100
349
+
350
+ # Maximum number of lines in a module.
351
+ max-module-lines=1000
352
+
353
+ # Allow the body of a class to be on the same line as the declaration if body
354
+ # contains single statement.
355
+ single-line-class-stmt=no
356
+
357
+ # Allow the body of an if to be on the same line as the test if there is no
358
+ # else.
359
+ single-line-if-stmt=no
360
+
361
+
362
+ [IMPORTS]
363
+
364
+ # List of modules that can be imported at any level, not just the top level
365
+ # one.
366
+ allow-any-import-level=
367
+
368
+ # Allow explicit reexports by alias from a package __init__.
369
+ allow-reexport-from-package=no
370
+
371
+ # Allow wildcard imports from modules that define __all__.
372
+ allow-wildcard-with-all=no
373
+
374
+ # Deprecated modules which should not be used, separated by a comma.
375
+ deprecated-modules=
376
+
377
+ # Output a graph (.gv or any supported image format) of external dependencies
378
+ # to the given file (report RP0402 must not be disabled).
379
+ ext-import-graph=
380
+
381
+ # Output a graph (.gv or any supported image format) of all (i.e. internal and
382
+ # external) dependencies to the given file (report RP0402 must not be
383
+ # disabled).
384
+ import-graph=
385
+
386
+ # Output a graph (.gv or any supported image format) of internal dependencies
387
+ # to the given file (report RP0402 must not be disabled).
388
+ int-import-graph=
389
+
390
+ # Force import order to recognize a module as part of the standard
391
+ # compatibility libraries.
392
+ known-standard-library=
393
+
394
+ # Force import order to recognize a module as part of a third party library.
395
+ known-third-party=enchant
396
+
397
+ # Couples of modules and preferred modules, separated by a comma.
398
+ preferred-modules=
399
+
400
+
401
+ [LOGGING]
402
+
403
+ # The type of string formatting that logging methods do. `old` means using %
404
+ # formatting, `new` is for `{}` formatting.
405
+ logging-format-style=old
406
+
407
+ # Logging modules to check that the string format arguments are in logging
408
+ # function parameter format.
409
+ logging-modules=logging
410
+
411
+
412
+ [MESSAGES CONTROL]
413
+
414
+ # Only show warnings with the listed confidence levels. Leave empty to show
415
+ # all. Valid levels: HIGH, CONTROL_FLOW, INFERENCE, INFERENCE_FAILURE,
416
+ # UNDEFINED.
417
+ confidence=HIGH,
418
+ CONTROL_FLOW,
419
+ INFERENCE,
420
+ INFERENCE_FAILURE,
421
+ UNDEFINED
422
+
423
+ # Disable the message, report, category or checker with the given id(s). You
424
+ # can either give multiple identifiers separated by comma (,) or put this
425
+ # option multiple times (only on the command line, not in the configuration
426
+ # file where it should appear only once). You can also use "--disable=all" to
427
+ # disable everything first and then re-enable specific checks. For example, if
428
+ # you want to run only the similarities checker, you can use "--disable=all
429
+ # --enable=similarities". If you want to run only the classes checker, but have
430
+ # no Warning level messages displayed, use "--disable=all --enable=classes
431
+ # --disable=W".
432
+ disable=raw-checker-failed,
433
+ bad-inline-option,
434
+ locally-disabled,
435
+ file-ignored,
436
+ suppressed-message,
437
+ useless-suppression,
438
+ deprecated-pragma,
439
+ use-symbolic-message-instead,
440
+ use-implicit-booleaness-not-comparison-to-string,
441
+ use-implicit-booleaness-not-comparison-to-zero
442
+
443
+ # Enable the message, report, category or checker with the given id(s). You can
444
+ # either give multiple identifier separated by comma (,) or put this option
445
+ # multiple time (only on the command line, not in the configuration file where
446
+ # it should appear only once). See also the "--disable" option for examples.
447
+ enable=
448
+
449
+
450
+ [METHOD_ARGS]
451
+
452
+ # List of qualified names (i.e., library.method) which require a timeout
453
+ # parameter e.g. 'requests.api.get,requests.api.post'
454
+ timeout-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
455
+
456
+
457
+ [MISCELLANEOUS]
458
+
459
+ # List of note tags to take in consideration, separated by a comma.
460
+ notes=FIXME,
461
+ XXX,
462
+ TODO
463
+
464
+ # Regular expression of note tags to take in consideration.
465
+ notes-rgx=
466
+
467
+
468
+ [REFACTORING]
469
+
470
+ # Maximum number of nested blocks for function / method body
471
+ max-nested-blocks=5
472
+
473
+ # Complete name of functions that never returns. When checking for
474
+ # inconsistent-return-statements if a never returning function is called then
475
+ # it will be considered as an explicit return statement and no message will be
476
+ # printed.
477
+ never-returning-functions=sys.exit,argparse.parse_error
478
+
479
+ # Let 'consider-using-join' be raised when the separator to join on would be
480
+ # non-empty (resulting in expected fixes of the type: ``"- " + " -
481
+ # ".join(items)``)
482
+ suggest-join-with-non-empty-separator=yes
483
+
484
+
485
+ [REPORTS]
486
+
487
+ # Python expression which should return a score less than or equal to 10. You
488
+ # have access to the variables 'fatal', 'error', 'warning', 'refactor',
489
+ # 'convention', and 'info' which contain the number of messages in each
490
+ # category, as well as 'statement' which is the total number of statements
491
+ # analyzed. This score is used by the global evaluation report (RP0004).
492
+ evaluation=max(0, 0 if fatal else 10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10))
493
+
494
+ # Template used to display messages. This is a python new-style format string
495
+ # used to format the message information. See doc for all details.
496
+ msg-template=
497
+
498
+ # Set the output format. Available formats are: text, parseable, colorized,
499
+ # json2 (improved json format), json (old json format) and msvs (visual
500
+ # studio). You can also give a reporter class, e.g.
501
+ # mypackage.mymodule.MyReporterClass.
502
+ #output-format=
503
+
504
+ # Tells whether to display a full report or only the messages.
505
+ reports=no
506
+
507
+ # Activate the evaluation score.
508
+ score=yes
509
+
510
+
511
+ [SIMILARITIES]
512
+
513
+ # Comments are removed from the similarity computation
514
+ ignore-comments=yes
515
+
516
+ # Docstrings are removed from the similarity computation
517
+ ignore-docstrings=yes
518
+
519
+ # Imports are removed from the similarity computation
520
+ ignore-imports=yes
521
+
522
+ # Signatures are removed from the similarity computation
523
+ ignore-signatures=yes
524
+
525
+ # Minimum lines number of a similarity.
526
+ min-similarity-lines=4
527
+
528
+
529
+ [SPELLING]
530
+
531
+ # Limits count of emitted suggestions for spelling mistakes.
532
+ max-spelling-suggestions=4
533
+
534
+ # Spelling dictionary name. No available dictionaries : You need to install
535
+ # both the python package and the system dependency for enchant to work.
536
+ spelling-dict=
537
+
538
+ # List of comma separated words that should be considered directives if they
539
+ # appear at the beginning of a comment and should not be checked.
540
+ spelling-ignore-comment-directives=fmt: on,fmt: off,noqa:,noqa,nosec,isort:skip,mypy:
541
+
542
+ # List of comma separated words that should not be checked.
543
+ spelling-ignore-words=
544
+
545
+ # A path to a file that contains the private dictionary; one word per line.
546
+ spelling-private-dict-file=
547
+
548
+ # Tells whether to store unknown words to the private dictionary (see the
549
+ # --spelling-private-dict-file option) instead of raising a message.
550
+ spelling-store-unknown-words=no
551
+
552
+
553
+ [STRING]
554
+
555
+ # This flag controls whether inconsistent-quotes generates a warning when the
556
+ # character used as a quote delimiter is used inconsistently within a module.
557
+ check-quote-consistency=no
558
+
559
+ # This flag controls whether the implicit-str-concat should generate a warning
560
+ # on implicit string concatenation in sequences defined over several lines.
561
+ check-str-concat-over-line-jumps=no
562
+
563
+
564
+ [TYPECHECK]
565
+
566
+ # List of decorators that produce context managers, such as
567
+ # contextlib.contextmanager. Add to this list to register other decorators that
568
+ # produce valid context managers.
569
+ contextmanager-decorators=contextlib.contextmanager
570
+
571
+ # List of members which are set dynamically and missed by pylint inference
572
+ # system, and so shouldn't trigger E1101 when accessed. Python regular
573
+ # expressions are accepted.
574
+ generated-members=
575
+
576
+ # Tells whether to warn about missing members when the owner of the attribute
577
+ # is inferred to be None.
578
+ ignore-none=yes
579
+
580
+ # This flag controls whether pylint should warn about no-member and similar
581
+ # checks whenever an opaque object is returned when inferring. The inference
582
+ # can return multiple potential results while evaluating a Python object, but
583
+ # some branches might not be evaluated, which results in partial inference. In
584
+ # that case, it might be useful to still emit no-member and other checks for
585
+ # the rest of the inferred objects.
586
+ ignore-on-opaque-inference=yes
587
+
588
+ # List of symbolic message names to ignore for Mixin members.
589
+ ignored-checks-for-mixins=no-member,
590
+ not-async-context-manager,
591
+ not-context-manager,
592
+ attribute-defined-outside-init
593
+
594
+ # List of class names for which member attributes should not be checked (useful
595
+ # for classes with dynamically set attributes). This supports the use of
596
+ # qualified names.
597
+ ignored-classes=optparse.Values,thread._local,_thread._local,argparse.Namespace
598
+
599
+ # Show a hint with possible names when a member name was not found. The aspect
600
+ # of finding the hint is based on edit distance.
601
+ missing-member-hint=yes
602
+
603
+ # The minimum edit distance a name should have in order to be considered a
604
+ # similar match for a missing member name.
605
+ missing-member-hint-distance=1
606
+
607
+ # The total number of similar names that should be taken in consideration when
608
+ # showing a hint for a missing member.
609
+ missing-member-max-choices=1
610
+
611
+ # Regex pattern to define which classes are considered mixins.
612
+ mixin-class-rgx=.*[Mm]ixin
613
+
614
+ # List of decorators that change the signature of a decorated function.
615
+ signature-mutators=
616
+
617
+
618
+ [VARIABLES]
619
+
620
+ # List of additional names supposed to be defined in builtins. Remember that
621
+ # you should avoid defining new builtins when possible.
622
+ additional-builtins=
623
+
624
+ # Tells whether unused global variables should be treated as a violation.
625
+ allow-global-unused-variables=yes
626
+
627
+ # List of names allowed to shadow builtins
628
+ allowed-redefined-builtins=
629
+
630
+ # List of strings which can identify a callback function by name. A callback
631
+ # name must start or end with one of those strings.
632
+ callbacks=cb_,
633
+ _cb
634
+
635
+ # A regular expression matching the name of dummy variables (i.e. expected to
636
+ # not be used).
637
+ dummy-variables-rgx=_+$|(_[a-zA-Z0-9_]*[a-zA-Z0-9]+?$)|dummy|^ignored_|^unused_
638
+
639
+ # Argument names that match this expression will be ignored.
640
+ ignored-argument-names=_.*|^ignored_|^unused_
641
+
642
+ # Tells whether we should check for unused import in __init__ files.
643
+ init-import=no
644
+
645
+ # List of qualified module names which can have objects that can redefine
646
+ # builtins.
647
+ redefining-builtins-modules=six.moves,past.builtins,future.builtins,builtins,io