Error MessagesΒΆ
Here we document the error messages emitted by Pylint.
- E0001 syntax-error
- E0011 unrecognized-inline-option
- E0012 bad-option-value
- E0100 init-is-generator
- E0101 return-in-init
- E0102 function-redefined
- E0103 not-in-loop
- E0104 return-outside-function
- E0105 yield-outside-function
- E0106 return-arg-in-generator
- E0107 nonexistent-operator
- E0108 duplicate-argument-name
- E0110 abstract-class-instantiated
- E0111 bad-reversed-sequence
- E0112 too-many-star-expressions
- E0113 invalid-star-assignment-target
- E0114 star-needs-assignment-target
- E0115 nonlocal-and-global
- E0116 continue-in-finally
- E0117 nonlocal-without-binding
- E0118 used-prior-global-declaration
- E0119 misplaced-format-function
- E0202 method-hidden
- E0203 access-member-before-definition
- E0211 no-method-argument
- E0213 no-self-argument
- E0236 invalid-slots-object
- E0237 assigning-non-slot
- E0238 invalid-slots
- E0239 inherit-non-class
- E0240 inconsistent-mro
- E0241 duplicate-bases
- E0242 class-variable-slots-conflict
- E0301 non-iterator-returned
- E0302 unexpected-special-method-signature
- E0303 invalid-length-returned
- E0304 invalid-bool-returned
- E0305 invalid-index-returned
- E0306 invalid-repr-returned
- E0307 invalid-str-returned
- E0308 invalid-bytes-returned
- E0309 invalid-hash-returned
- E0310 invalid-length-hint-returned
- E0311 invalid-format-returned
- E0312 invalid-getnewargs-returned
- E0313 invalid-getnewargs-ex-returned
- E0401 import-error
- E0402 relative-beyond-top-level
- E0601 used-before-assignment
- E0602 undefined-variable
- E0603 undefined-all-variable
- E0604 invalid-all-object
- E0611 no-name-in-module
- E0633 unpacking-non-sequence
- E0701 bad-except-order
- E0702 raising-bad-type
- E0703 bad-exception-context
- E0704 misplaced-bare-raise
- E0710 raising-non-exception
- E0711 notimplemented-raised
- E0712 catching-non-exception
- E1003 bad-super-call
- E1101 no-member
- E1102 not-callable
- E1111 assignment-from-no-return
- E1120 no-value-for-parameter
- E1121 too-many-function-args
- E1123 unexpected-keyword-arg
- E1124 redundant-keyword-arg
- E1125 missing-kwoa
- E1126 invalid-sequence-index
- E1127 invalid-slice-index
- E1128 assignment-from-none
- E1129 not-context-manager
- E1130 invalid-unary-operand-type
- E1131 unsupported-binary-operation
- E1132 repeated-keyword
- E1133 not-an-iterable
- E1134 not-a-mapping
- E1135 unsupported-membership-test
- E1136 unsubscriptable-object
- E1137 unsupported-assignment-operation
- E1138 unsupported-delete-operation
- E1139 invalid-metaclass
- E1140 unhashable-dict-key
- E1141 dict-iter-missing-items
- E1200 logging-unsupported-format
- E1201 logging-format-truncated
- E1205 logging-too-many-args
- E1206 logging-too-few-args
- E1300 bad-format-character
- E1301 truncated-format-string
- E1302 mixed-format-string
- E1303 format-needs-mapping
- E1304 missing-format-string-key
- E1305 too-many-format-args
- E1306 too-few-format-args
- E1307 bad-string-format-type
- E1310 bad-str-strip-call
- E1507 invalid-envvar-value
- E1601 print-statement
- E1602 parameter-unpacking
- E1603 unpacking-in-except
- E1604 old-raise-syntax
- E1605 backtick
- E1606 long-suffix
- E1607 old-ne-operator
- E1608 old-octal-literal
- E1609 import-star-module-level
- E1610 non-ascii-bytes-literal
- E1700 yield-inside-async-function
- E1701 not-async-context-manager