blob: 50f77d35e570653011303aec0e9b4850d772cf9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
|
.. _messages-overview:
#################
Messages overview
#################
.. This file is auto-generated. Make any changes to the associated
.. docs extension in 'doc/exts/pylint_messages.py'.
Pylint can emit the following messages:
.. _fatal-category:
Fatal
*****
All messages in the fatal category:
.. toctree::
:maxdepth: 2
:titlesonly:
fatal/astroid-error
fatal/config-parse-error
fatal/fatal
fatal/method-check-failed
fatal/parse-error
All renamed messages in the fatal category:
.. toctree::
:maxdepth: 1
:titlesonly:
fatal/old-import-error
.. _error-category:
Error
*****
All messages in the error category:
.. toctree::
:maxdepth: 2
:titlesonly:
error/abstract-class-instantiated
error/access-member-before-definition
error/assigning-non-slot
error/assignment-from-no-return
error/assignment-from-none
error/await-outside-async
error/bad-configuration-section
error/bad-except-order
error/bad-exception-cause
error/bad-format-character
error/bad-plugin-value
error/bad-reversed-sequence
error/bad-str-strip-call
error/bad-string-format-type
error/bad-super-call
error/bidirectional-unicode
error/broken-collections-callable
error/broken-noreturn
error/catching-non-exception
error/class-variable-slots-conflict
error/continue-in-finally
error/dict-iter-missing-items
error/duplicate-argument-name
error/duplicate-bases
error/format-needs-mapping
error/function-redefined
error/import-error
error/inconsistent-mro
error/inherit-non-class
error/init-is-generator
error/invalid-all-format
error/invalid-all-object
error/invalid-bool-returned
error/invalid-bytes-returned
error/invalid-character-backspace
error/invalid-character-carriage-return
error/invalid-character-esc
error/invalid-character-nul
error/invalid-character-sub
error/invalid-character-zero-width-space
error/invalid-class-object
error/invalid-enum-extension
error/invalid-envvar-value
error/invalid-format-returned
error/invalid-getnewargs-ex-returned
error/invalid-getnewargs-returned
error/invalid-hash-returned
error/invalid-index-returned
error/invalid-length-hint-returned
error/invalid-length-returned
error/invalid-metaclass
error/invalid-repr-returned
error/invalid-sequence-index
error/invalid-slice-index
error/invalid-slice-step
error/invalid-slots
error/invalid-slots-object
error/invalid-star-assignment-target
error/invalid-str-returned
error/invalid-unary-operand-type
error/invalid-unicode-codec
error/logging-format-truncated
error/logging-too-few-args
error/logging-too-many-args
error/logging-unsupported-format
error/method-hidden
error/misplaced-bare-raise
error/misplaced-format-function
error/missing-format-string-key
error/missing-kwoa
error/mixed-format-string
error/modified-iterating-dict
error/modified-iterating-set
error/no-member
error/no-method-argument
error/no-name-in-module
error/no-self-argument
error/no-value-for-parameter
error/non-iterator-returned
error/nonexistent-operator
error/nonlocal-and-global
error/nonlocal-without-binding
error/not-a-mapping
error/not-an-iterable
error/not-async-context-manager
error/not-callable
error/not-context-manager
error/not-in-loop
error/notimplemented-raised
error/positional-only-arguments-expected
error/potential-index-error
error/raising-bad-type
error/raising-non-exception
error/redundant-keyword-arg
error/relative-beyond-top-level
error/repeated-keyword
error/return-arg-in-generator
error/return-in-init
error/return-outside-function
error/singledispatch-method
error/singledispatchmethod-function
error/star-needs-assignment-target
error/syntax-error
error/too-few-format-args
error/too-many-format-args
error/too-many-function-args
error/too-many-star-expressions
error/truncated-format-string
error/undefined-all-variable
error/undefined-variable
error/unexpected-keyword-arg
error/unexpected-special-method-signature
error/unhashable-member
error/unpacking-non-sequence
error/unrecognized-inline-option
error/unrecognized-option
error/unsubscriptable-object
error/unsupported-assignment-operation
error/unsupported-binary-operation
error/unsupported-delete-operation
error/unsupported-membership-test
error/used-before-assignment
error/used-prior-global-declaration
error/yield-inside-async-function
error/yield-outside-function
All renamed messages in the error category:
.. toctree::
:maxdepth: 1
:titlesonly:
error/bad-context-manager
error/bad-exception-context
error/bad-option-value
error/maybe-no-member
error/old-non-iterator-returned-2
error/old-unbalanced-tuple-unpacking
error/unhashable-dict-key
.. _warning-category:
Warning
*******
All messages in the warning category:
.. toctree::
:maxdepth: 2
:titlesonly:
warning/abstract-method
warning/anomalous-backslash-in-string
warning/anomalous-unicode-escape-in-string
warning/arguments-differ
warning/arguments-out-of-order
warning/arguments-renamed
warning/assert-on-string-literal
warning/assert-on-tuple
warning/attribute-defined-outside-init
warning/bad-builtin
warning/bad-chained-comparison
warning/bad-dunder-name
warning/bad-format-string
warning/bad-format-string-key
warning/bad-indentation
warning/bad-open-mode
warning/bad-staticmethod-argument
warning/bad-thread-instantiation
warning/bare-except
warning/binary-op-exception
warning/boolean-datetime
warning/broad-exception-caught
warning/broad-exception-raised
warning/cell-var-from-loop
warning/comparison-with-callable
warning/confusing-with-statement
warning/consider-ternary-expression
warning/dangerous-default-value
warning/deprecated-argument
warning/deprecated-class
warning/deprecated-decorator
warning/deprecated-method
warning/deprecated-module
warning/deprecated-typing-alias
warning/differing-param-doc
warning/differing-type-doc
warning/duplicate-except
warning/duplicate-key
warning/duplicate-string-formatting-argument
warning/duplicate-value
warning/eq-without-hash
warning/eval-used
warning/exec-used
warning/expression-not-assigned
warning/f-string-without-interpolation
warning/fixme
warning/forgotten-debug-statement
warning/format-combined-specification
warning/format-string-without-interpolation
warning/global-at-module-level
warning/global-statement
warning/global-variable-not-assigned
warning/global-variable-undefined
warning/implicit-flag-alias
warning/implicit-str-concat
warning/import-self
warning/inconsistent-quotes
warning/invalid-envvar-default
warning/invalid-format-index
warning/invalid-overridden-method
warning/isinstance-second-argument-not-valid-type
warning/keyword-arg-before-vararg
warning/logging-format-interpolation
warning/logging-fstring-interpolation
warning/logging-not-lazy
warning/lost-exception
warning/method-cache-max-size-none
warning/misplaced-future
warning/missing-any-param-doc
warning/missing-format-argument-key
warning/missing-format-attribute
warning/missing-param-doc
warning/missing-parentheses-for-call-in-test
warning/missing-raises-doc
warning/missing-return-doc
warning/missing-return-type-doc
warning/missing-timeout
warning/missing-type-doc
warning/missing-yield-doc
warning/missing-yield-type-doc
warning/modified-iterating-list
warning/multiple-constructor-doc
warning/named-expr-without-context
warning/nan-comparison
warning/nested-min-max
warning/non-ascii-file-name
warning/non-parent-init-called
warning/non-str-assignment-to-dunder-name
warning/overlapping-except
warning/overridden-final-method
warning/pointless-exception-statement
warning/pointless-statement
warning/pointless-string-statement
warning/possibly-unused-variable
warning/preferred-module
warning/protected-access
warning/raise-missing-from
warning/raising-format-tuple
warning/redeclared-assigned-name
warning/redefined-builtin
warning/redefined-loop-name
warning/redefined-outer-name
warning/redefined-slots-in-subclass
warning/redundant-returns-doc
warning/redundant-u-string-prefix
warning/redundant-unittest-assert
warning/redundant-yields-doc
warning/reimported
warning/self-assigning-variable
warning/self-cls-assignment
warning/shadowed-import
warning/shallow-copy-environ
warning/signature-differs
warning/subclassed-final-class
warning/subprocess-popen-preexec-fn
warning/subprocess-run-check
warning/super-init-not-called
warning/super-without-brackets
warning/too-many-try-statements
warning/try-except-raise
warning/unbalanced-dict-unpacking
warning/unbalanced-tuple-unpacking
warning/undefined-loop-variable
warning/unknown-option-value
warning/unnecessary-ellipsis
warning/unnecessary-lambda
warning/unnecessary-pass
warning/unnecessary-semicolon
warning/unreachable
warning/unspecified-encoding
warning/unused-argument
warning/unused-format-string-argument
warning/unused-format-string-key
warning/unused-import
warning/unused-private-member
warning/unused-variable
warning/unused-wildcard-import
warning/useless-else-on-loop
warning/useless-param-doc
warning/useless-parent-delegation
warning/useless-type-doc
warning/useless-with-lock
warning/using-constant-test
warning/using-f-string-in-unsupported-version
warning/using-final-decorator-in-unsupported-version
warning/while-used
warning/wildcard-import
warning/wrong-exception-operation
All renamed messages in the warning category:
.. toctree::
:maxdepth: 1
:titlesonly:
warning/broad-except
warning/cache-max-size-none
warning/implicit-str-concat-in-sequence
warning/lru-cache-decorating-method
warning/old-assignment-from-none
warning/old-deprecated-argument
warning/old-deprecated-class
warning/old-deprecated-decorator
warning/old-deprecated-method
warning/old-deprecated-module
warning/old-empty-docstring
warning/old-missing-param-doc
warning/old-missing-returns-doc
warning/old-missing-type-doc
warning/old-missing-yields-doc
warning/old-non-iterator-returned-1
warning/old-unidiomatic-typecheck
warning/old-unpacking-non-sequence
warning/useless-super-delegation
.. _convention-category:
Convention
**********
All messages in the convention category:
.. toctree::
:maxdepth: 2
:titlesonly:
convention/bad-classmethod-argument
convention/bad-docstring-quotes
convention/bad-file-encoding
convention/bad-mcs-classmethod-argument
convention/bad-mcs-method-argument
convention/compare-to-empty-string
convention/consider-iterating-dictionary
convention/consider-using-any-or-all
convention/consider-using-dict-items
convention/consider-using-enumerate
convention/consider-using-f-string
convention/dict-init-mutate
convention/disallowed-name
convention/docstring-first-line-empty
convention/empty-docstring
convention/import-outside-toplevel
convention/import-private-name
convention/invalid-characters-in-docstring
convention/invalid-name
convention/line-too-long
convention/misplaced-comparison-constant
convention/missing-class-docstring
convention/missing-final-newline
convention/missing-function-docstring
convention/missing-module-docstring
convention/mixed-line-endings
convention/multiple-imports
convention/multiple-statements
convention/non-ascii-module-import
convention/non-ascii-name
convention/single-string-used-for-slots
convention/singleton-comparison
convention/superfluous-parens
convention/too-many-lines
convention/trailing-newlines
convention/trailing-whitespace
convention/typevar-double-variance
convention/typevar-name-incorrect-variance
convention/typevar-name-mismatch
convention/unexpected-line-ending-format
convention/ungrouped-imports
convention/unidiomatic-typecheck
convention/unnecessary-direct-lambda-call
convention/unnecessary-dunder-call
convention/unnecessary-lambda-assignment
convention/unneeded-not
convention/use-implicit-booleaness-not-comparison
convention/use-implicit-booleaness-not-comparison-to-zero
convention/use-implicit-booleaness-not-len
convention/use-maxsplit-arg
convention/use-sequence-for-iteration
convention/useless-import-alias
convention/wrong-import-order
convention/wrong-import-position
convention/wrong-spelling-in-comment
convention/wrong-spelling-in-docstring
All renamed messages in the convention category:
.. toctree::
:maxdepth: 1
:titlesonly:
convention/blacklisted-name
convention/compare-to-zero
convention/len-as-condition
convention/missing-docstring
convention/old-misplaced-comparison-constant
convention/old-non-ascii-name
.. _refactor-category:
Refactor
********
All messages in the refactor category:
.. toctree::
:maxdepth: 2
:titlesonly:
refactor/chained-comparison
refactor/comparison-of-constants
refactor/comparison-with-itself
refactor/condition-evals-to-constant
refactor/confusing-consecutive-elif
refactor/consider-alternative-union-syntax
refactor/consider-merging-isinstance
refactor/consider-refactoring-into-while-condition
refactor/consider-swap-variables
refactor/consider-using-alias
refactor/consider-using-assignment-expr
refactor/consider-using-augmented-assign
refactor/consider-using-dict-comprehension
refactor/consider-using-from-import
refactor/consider-using-generator
refactor/consider-using-get
refactor/consider-using-in
refactor/consider-using-join
refactor/consider-using-max-builtin
refactor/consider-using-min-builtin
refactor/consider-using-namedtuple-or-dataclass
refactor/consider-using-set-comprehension
refactor/consider-using-sys-exit
refactor/consider-using-ternary
refactor/consider-using-tuple
refactor/consider-using-with
refactor/cyclic-import
refactor/duplicate-code
refactor/else-if-used
refactor/empty-comment
refactor/inconsistent-return-statements
refactor/literal-comparison
refactor/magic-value-comparison
refactor/no-classmethod-decorator
refactor/no-else-break
refactor/no-else-continue
refactor/no-else-raise
refactor/no-else-return
refactor/no-self-use
refactor/no-staticmethod-decorator
refactor/property-with-parameters
refactor/redefined-argument-from-local
refactor/redefined-variable-type
refactor/redundant-typehint-argument
refactor/simplifiable-condition
refactor/simplifiable-if-expression
refactor/simplifiable-if-statement
refactor/simplify-boolean-expression
refactor/stop-iteration-return
refactor/super-with-arguments
refactor/too-complex
refactor/too-few-public-methods
refactor/too-many-ancestors
refactor/too-many-arguments
refactor/too-many-boolean-expressions
refactor/too-many-branches
refactor/too-many-instance-attributes
refactor/too-many-locals
refactor/too-many-nested-blocks
refactor/too-many-public-methods
refactor/too-many-return-statements
refactor/too-many-statements
refactor/trailing-comma-tuple
refactor/unnecessary-comprehension
refactor/unnecessary-dict-index-lookup
refactor/unnecessary-list-index-lookup
refactor/use-a-generator
refactor/use-dict-literal
refactor/use-list-literal
refactor/use-set-for-membership
refactor/useless-object-inheritance
refactor/useless-option-value
refactor/useless-return
All renamed messages in the refactor category:
.. toctree::
:maxdepth: 1
:titlesonly:
refactor/old-no-self-use
refactor/old-simplifiable-if-statement
refactor/old-too-many-nested-blocks
.. _information-category:
Information
***********
All messages in the information category:
.. toctree::
:maxdepth: 2
:titlesonly:
information/bad-inline-option
information/c-extension-no-member
information/deprecated-pragma
information/file-ignored
information/locally-disabled
information/raw-checker-failed
information/suppressed-message
information/use-symbolic-message-instead
information/useless-suppression
All renamed messages in the information category:
.. toctree::
:maxdepth: 1
:titlesonly:
information/deprecated-disable-all
|