| Rule | Description | KPI | URL |
|---|---|---|---|
| E0011-unrecognizedFileOption | Used when an unknown PyLint option is encountered. | Understandability | http://pylint-messages.wikidot.com/all-codes |
| E0012-badOption | Used when a bad value for a PyLint option is encountered. The option exists but its value is not valid. | Understandability | http://pylint-messages.wikidot.com/all-codes |
| E0100-avoidInitMethodInGenerator | Avoid special class method __init__() from being turned into a generator by a yield statement in its body. | Accuracy | http://pylint-messages.wikidot.com/all-codes |
| E0101-avoidReturnInInitMethod | Avoid the special class method __init__() from having an explicit return value. | Accuracy | http://pylint-messages.wikidot.com/all-codes |
| E0103-avoidBreakOrContinueOutsideLoop | Avoid using the break or continue keywords outside of a loop. | Understandability | http://pylint-messages.wikidot.com/all-codes |
| E0104-returnOutsideFunction | A return statement is found outside a function or method. | Understandability | http://pylint-messages.wikidot.com/all-codes |
| E0107-nonexistentOpt | Avoid using operators that do not exist in Python. | Understandability | http://pylint-messages.wikidot.com/all-codes |
| E0108-duplicateArgumentNameInFunctionDef | An argument name is used more than once in a function or method definition. | Understandability | http://pylint-messages.wikidot.com/all-codes |
| E0110-instantiationError | Avoid instantiating classes which have unimplemented abstract methods. | Understandability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| E0235-invalidExitmethodArguments | the __exit__ method of a context manager class does not have exactly three arguments. | Accuracy | http://pylint-messages.wikidot.com/all-codes |
| E0603-undefinedVariableIn__all__ | Avoid using undefined variables in the __all__ variable | Accuracy | http://pylint-messages.wikidot.com/all-codes |
| E0604-invalidObjectIn__all__ | Use of string literals in the module variable __all__ is encouraged | Accuracy | http://pylint-messages.wikidot.com/all-codes |
| E0611-noNameInModule | A name cannot be found in a module. | Accuracy | http://pylint-messages.wikidot.com/all-codes |
| E0702-typeErrorRaised | Something which is neither a class, an instance or a string is raised (i.e. a TypeError will be raised) | Robustness | http://pylint-messages.wikidot.com/all-codes |
| E0710-newStyleClassError | A new style class which doesn’t inherit from BaseException raised. | Robustness | http://pylint-messages.wikidot.com/all-codes |
| E0712-invalidExceptionCaught | Catching an exception which doesn’t inherit from BaseException | Robustness | http://pylint-messages.wikidot.com/all-codes |
| E1001-useOf_slots_OnOldStyleClass | Use of __slots__ on an old style class | Maintainability | http://pylint-messages.wikidot.com/all-codes |
| E1002-useOfSuperOnOldStyleClass | Use of super on an old style class | Maintainability | http://pylint-messages.wikidot.com/all-codes |
| E1003-badFirstArgumentToSuperMethod | An argument other than the current class is given as first argument of the super() | Accuracy | http://pylint-messages.wikidot.com/all-codes |
| E1101-accessOfNonExistentMember | Access of nonexistent member | Robustness | http://pylint-messages.wikidot.com/all-codes |
| E1103-accessingNonexistentMember | Accessing nonexistent member | Robustness | http://pylint-messages.wikidot.com/all-codes |
| E1120-noValuePassedForParameterInFunctionCall | Avoid function calls that have less arguments than those declared. | Understandability | http://pylint-messages.wikidot.com/all-codes |
| E1121-tooManyPositionalArgumentsForFunctionCall | Avoid function calls that have more arguments than those declared. | Understandability | http://pylint-messages.wikidot.com/all-codes |
| E1122-duplicateArgumentNameInFunction | Duplicate keyword argument in function call | Accuracy | http://pylint-messages.wikidot.com/all-codes |
| E1123-unexpectedKeywordArgumentInFunctionCall | Passing unexpected keyword argument in function call | Understandability | http://pylint-messages.wikidot.com/all-codes |
| E1124-incorrectParameterPassed | Avoid function calls from being passed an argument as both positional and keyword. | Robustness | http://pylint-messages.wikidot.com/all-codes |
| E1125-missingMandatoryKeywordArg | Always pass required positional keyword arguments into function calls. | Robustness | http://pylint-messages.wikidot.com/all-codes |
| E1200-unsupportedLoggingFmt | Avoid unsupported format characters from being used in logging operations. | Understandability | http://pylint-messages.wikidot.com/all-codes |
| E1201-avoidPartialFormatString | Avoid partial format string from being used on logging operations. | Understandability | http://pylint-messages.wikidot.com/all-codes |
| E1205-tooManyArgumentsForLoggingFormatString | Avoid logging operations that have more arguments than those declared in the format string. | Understandability | http://pylint-messages.wikidot.com/all-codes |
| E1206-notEnoughArgumentsForLoggingFormatString | Avoid logging operations that have less arguments than those declared in the format string. | Understandability | http://pylint-messages.wikidot.com/all-codes |
| E1300-unsupportedConversionSpecifier | Avoid unsupported conversion specifiers from being used in string format operations. | Robustness | http://pylint-messages.wikidot.com/all-codes |
| E1302-incorrectConversionSpecifierInStringFmt | Avoid mixed named and unnamed conversion specifiers in string format operations. | Robustness | http://pylint-messages.wikidot.com/all-codes |
| E1303-expectedMappingForFormatString | Use of mapping for format string operations that use named conversion specifiers is encouraged | Accuracy | http://pylint-messages.wikidot.com/all-codes |
| E1305-tooManyArgForFormatString | Avoid string format operations that have more arguments than conversion specifiers declared. | Robustness | http://pylint-messages.wikidot.com/all-codes |
| E1310-suspiciousArgument | Stripping with multiple chars doesn’t strip those chars as a string, but it removes all the occurences of each of them. | Accuracy | http://pylint-messages.wikidot.com/all-codes |
| R0201-methodCouldBeFunction | Avoid the usage of classes when there are no references for it, suggesting that the method could be used as a static function instead | Accuracy | http://pylint-messages.wikidot.com/all-codes |
| R0401-cyclicImport | A cyclic import between two or more modules is detected | Maintainability | http://pylint-messages.wikidot.com/all-codes |
| W0101-unreachableCode | Avoid code after a return or raise statement, which will never be accessed. | Maintainability | http://pylint-messages.wikidot.com/all-codes |
| W0102-dangerousDefaultValAsArgument | A mutable value as list or dictionary is detected in a default value for an argument. | Robustness | http://pylint-messages.wikidot.com/all-codes |
| W0104-statementHasNoEffect | A statement doesn’t have (or at least seems to) any effect. | Understandability | http://pylint-messages.wikidot.com/all-codes |
| W0106-expressionAssignedToNothing | Expression is assigned to nothing | Understandability | http://pylint-messages.wikidot.com/all-codes |
| W0107-unnecessaryPassStatement | A ‘pass’ statement that can be avoided is encountered. | Understandability | http://pylint-messages.wikidot.com/all-codes |
| W0108-lambdaMayNotBeNecessary | Avoid useless uses of lambda expressions. | Maintainability | http://pylint-messages.wikidot.com/all-codes |
| W0109-duplicateKeyInDictionary | Duplicate key in dictionary | Efficiency | http://pylint-messages.wikidot.com/all-codes |
| W0110-replaceByComprehension | Enforce list comprehensions for map/filter on lambda. | Maintainability | http://pylint-messages.wikidot.com/all-codes |
| W0120-elseClauseOnLoopWithoutBreak | Else clause on loop without a break statement. | Accuracy | http://pylint-messages.wikidot.com/all-codes |
| W0141-blacklistedFunctionUsed | A blacklisted built-in function is used (see the bad-function option). Usual blacklisted functions are the ones like map or filter, where Python now offers some cleaner alternative like list comprehension. | Accuracy | http://pylint-messages.wikidot.com/all-codes |
| W0142-readabilityError | A function or method is called using *args or **kwargs to dispatch arguments. This doesn’t improve readability and should be used with care. | Understandability | http://pylint-messages.wikidot.com/all-codes |
| W0150-statementMaySwallowException | Statement in finally block may swallow exception | Accuracy | http://pylint-messages.wikidot.com/all-codes |
| W0199-avoidAssertOnTuple | Avoid calling assert on a 2-uple | Robustness | http://pylint-messages.wikidot.com/all-codes |
| W0201-attributeDefinedOutsideInit | An instance attribute is defined outside the __init__ method. | Robustness | http://pylint-messages.wikidot.com/all-codes |
| W0211-avoidSelfOrClsAsFirstArgInStaticMethod | Avoid the usage of self or cls as first argument of a static method | Maintainability | http://pylint-messages.wikidot.com/all-codes |
| W0212-invalidAccessToProtectedMember | A protected member (i.e. class member with a name beginning with an underscore) is access outside the class or a descendant of the class where it’s defined. | Accuracy | http://pylint-messages.wikidot.com/all-codes |
| W0221-argumentNumbersDifferFromMethod | A method has a different number of arguments than in the implemented interface or in an overridden method. | Accuracy | http://pylint-messages.wikidot.com/all-codes |
| W0222-signatureDifferFromMethod | A method signature is different than in the implemented interface or in an overridden method. | Maintainability | http://pylint-messages.wikidot.com/all-codes |
| W0223-methodNotOverridden | An abstract method (i.e. one that raises NotImplementedError) is not overridden in concrete class. | Understandability | http://pylint-messages.wikidot.com/all-codes |
| W0231-initNotCallFromBaseClass | An ancestor class method has an __init__ method which is not called by a derived class. | Understandability | http://pylint-messages.wikidot.com/all-codes |
| W0232-classHasNotInitMethod | A class has no __init__ method, and neither does its parent classes. | Maintainability | http://pylint-messages.wikidot.com/all-codes |
| W0233-initMethodCalledIncorrectly | An __init__ method is called on a class which is not in the direct ancestors for the analysed class. | Understandability | http://pylint-messages.wikidot.com/all-codes |
| W0234-iterReturnNonIterator | __iter__ returns non-iterator | Accuracy | http://pylint-messages.wikidot.com/all-codes |
| W0312-mixedTabsAndSpacesInAModule | There are some mixed tabs and spaces in a module. | Accuracy | http://pylint-messages.wikidot.com/all-codes |
| W0401-wildcardImport | Do not import everything from a module using star imports. | Understandability | http://pylint-messages.wikidot.com/all-codes |
| W0410-futureImportShouldBeFirstStatment | __future__ imports need to be the first non docstring statement in a module in order to work. | Accuracy | http://pylint-messages.wikidot.com/all-codes |
| W0601-globalVariableUndefinedAtTheModuleLevel | Do not use a global statement with a variable name that can’t be found. | Accuracy | http://pylint-messages.wikidot.com/all-codes |
| W0602-noAssignmentOfGlobalVar | Do not use global statements with variables names which are not affected in the current scope. | Robustness | http://pylint-messages.wikidot.com/all-codes |
| W0604-usingGlobalStatementAtModuleLevel | The global statement at module level is superfluous, since all the variables defined there are already globals. | Maintainability | http://pylint-messages.wikidot.com/all-codes |
| W0612-unusedVariable | Avoid variables which are not used, which can be considered dead code. | Maintainability | http://pylint-messages.wikidot.com/all-codes |
| W0622-redefiningBuildinObject | Do not define objects with the same name as a builtin, this will trip those reading the code and it will be harder to understand. | Understandability | http://pylint-messages.wikidot.com/all-codes |
| W0623-redefiningNameInExceptionHandler | Avoid binding in an except clause to a name which already exists in the code. | Accuracy | http://pylint-messages.wikidot.com/all-codes |
| W0631-possibleUseOfUndefinedVariable | An loop variable (i.e. defined by a for loop or a list comprehension or a generator expression) is used outside the loop. | Accuracy | http://pylint-messages.wikidot.com/all-codes |
| W0701-stringExceptionRaised | Raising a string exception | Robustness | http://pylint-messages.wikidot.com/all-codes |
| W0703-catchingTooGeneralException | Catching too general exception | Accuracy | http://pylint-messages.wikidot.com/all-codes |
| W0705-catchingAlreadyCaughtException | An except clause which handles an exception that was previously caught in another except clause. | Accuracy | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W0710-exceptionDoNotInheritFromStdException | Exception doesn’t inherit from standard ‘Exception’ class | Maintainability | http://pylint-messages.wikidot.com/all-codes |
| W0711-binaryOperationException | Exception to catch is the result of a binary operation | Accuracy | http://pylint-messages.wikidot.com/all-codes |
| W1300-incorrectDictionaryKeyFormat | Do not pass dictionaries with non-string keys when doing old style formatting. | Accuracy | http://pylint-messages.wikidot.com/all-codes |
| E0303-useLenForNonNegativeInteger | Used when a __len__ method returns something which is not a non-negative integer | Understandability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| E1604-userRaiseErrorClass | Used when the alternate raise syntax ‘raise foo, bar’ is used instead of ‘raise foo(bar)’. | Efficiency | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| E1609-importOnlyAllowedAtModuleLevel | Used when the import star syntax is used somewhere else than the module level | Understandability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| E1700-yiedlnsideAsyncFunction | Used when an yield or yield from statement is found inside an async function. | Understandability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| I1101-cExtensionMemberUnavailable | Used when a variable is accessed for non-existent member of C extension. Due to unavailability of source static analysis is impossible, but it may be performed by introspecting living objects in run-time | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| R1708-avoidStopIterationInGenerator | According to PEP479, the raise of StopIteration to end the loop of a generator may lead to hard to find bugs. This PEP specify that raise StopIteration has to be replaced by a simple return statement | Understandability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W0111-assignmentWillBeInvalidInFuture | Used when assignment will become invalid in future Python release due to introducing new keyword | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W0123-avoidEvalFunction | Used when you use the ‘eval’ function, to discourage its usage. Consider using ast.literal_eval for safely evaluating strings containing Python expressions from untrusted sources | Security | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W0235-overriddenMethodIsUseless | Used whenever we can detect that an overridden method is useless, relying on super() delegation to do the same thing as another method from the MRO. | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W0640-variableDefinedInLoop | A variable used in a closure is defined in a loop. This will result in all closures using the same value for the closed-over variable. | Understandability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W0715-exceptionArgumentFmt | Used when passing multiple arguments to an exception constructor, the first of them a string literal containing what appears to be placeholders intended for formatting | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1113-keywordArgBeforeVarPositionalArg | When defining a keyword argument before variable positional arguments, one can end up in having multiple values passed for the aforementioned parameter in case the method is called with keyword arguments. | Accuracy | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1202-useFormattingInLogging | Used when a logging statement has a call form of ‘logging.(format_string.format(format_args…))’ | Understandability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1502-avoidUsingDataTimeInBooleanContxt | Using datetime.time in a boolean context can hide subtle bugs when the time they represent matches midnight UTC. | Accuracy | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1503-redundantUsedOfAssert | The first argument of assertTrue and assertFalse is a condition. If a constant is passed as parameter, that condition will be always true | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1505-usingDeprecatedMethod | The method is marked as deprecated and will be removed in a future version of Python. Consider looking for an alternative in the documentation. | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1506-threadNeedsTargetFunction | The warning is emitted when a threading.Thread class is instantiated without the target function being passed. By default, the first parameter is the group param, not the target param | Accuracy | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1507-avoidCopyMethod | os.environ is not a dict object but proxy object, so shallow copy has still effects on original object | Efficiency | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1601-applyFunctionNotUsedInPython3 | Used when the apply built-in function is referenced (missing from Python 3) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1602-basestringFunctionNotUsedInPython3 | Used when the basestring built-in function is referenced (missing from Python 3) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1603-bufferFunctionNotUsedInPython3 | Used when the buffer built-in function is referenced (missing from Python 3) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1604-cmpFunctionNotUsedInPython3 | Used when the cmp built-in function is referenced (missing from Python 3) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1605-coerceFunctionNotUsedInPython3 | Used when the coerce built-in function is referenced (missing from Python 3) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1606-execfileFunctionNotUsedInPython3 | Used when the execfile built-in function is referenced (missing from Python 3) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1607-fileFunctionNotUsedInPython3 | Used when the file built-in function is referenced (missing from Python 3) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1608-longFunctionNotUsedInPython3 | Used when the long built-in function is referenced (missing from Python 3) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1609-raw_inputFunctionNotUsedInPython3 | Used when the raw_input built-in function is referenced (missing from Python 3) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1610-reduceFunctionNotUsedInPython3 | Used when the reduce built-in function is referenced (missing from Python 3) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1611-standardFunctionNotUsedInPython3 | Used when the StandardError built-in function is referenced (missing from Python 3) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1612-unicodeFunctionNotUsedInPython3 | Used when the unicode built-in function is referenced (missing from Python 3) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1613-xrangeFunctionNotUsedInPython3 | Used when the xrange built-in function is referenced (missing from Python 3) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1614-__coerceMethodNotUsedInPython3 | Used when a __coerce__ method is defined (method is not used by Python 3) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1615-__delsliceMethodNotUsedInPython3 | Used when a __delslice__ method is defined (method is not used by Python 3) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1616-__getsliceMethodNotUsedInPython3 | Used when a __getslice__ method is defined (method is not used by Python 3) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1617-__setsliceMethodNotUsedInPython3 | Used when a __setslice__ method is defined (method is not used by Python 3) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1618-importMissing | Used when an import is not accompanied by from __future__ import absolute_import (default behaviour in Python 3) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1619-possibleInvalidDivision | Used for non-floor division w/o a float literal or from __future__ import division (Python 3 returns a float for int division unconditionally) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1620-callsNotPresentInPython3 | Used for calls to dict.iterkeys(), itervalues() or iteritems() (Python 3 lacks these methods) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1621-methodNotPresentInPython3 | Used for calls to dict.viewkeys(), viewvalues() or viewitems() (Python 3 lacks these methods) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1622-invalidNextMethodInPython3 | Used when an object’s next() method is called (Python 3 uses the next() built- in function) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1623-invalidMetaclassUsedForPython3 | Used when a metaclass is specified by assigning to __metaclass__ (Python 3 specifies the metaclass as a class statement argument) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1624-indexingExceptionsWillNotWorkOnPython3 | Indexing exceptions will not work on Python 3. Use exception.args[index] instead. | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1625-stringException | Used when a string exception is raised. This will not work on Python 3. | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1626-reloadMethodNotUsedInPython3 | Used when the reload built-in function is referenced (missing from Python 3). | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1627-__octMethodNotUsedInPython3 | Used when an __oct__ method is defined (method is not used by Python 3) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1628-__hexMethodNotUsedInPython3 | Used when a __hex__ method is defined (method is not used by Python 3) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1629-__nonzeroMethodNotUsedInPython3 | Used when a __nonzero__ method is defined (method is not used by Python 3) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1630-__cmpMethodNotUsedInPython3 | Used when a __cmp__ method is defined (method is not used by Python 3) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1632-inputMethodNotUsedInPython3 | Used when the input built-in is referenced (backwards-incompatible semantics in Python 3) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1633-roundMethodNotUsedInPython3 | Used when the round built-in is referenced (backwards-incompatible semantics in Python 3) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1634-internMethodNotUsedInPython3 | Used when the intern built-in is referenced (Moved to sys.intern in Python 3) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1635-unichrMethodNotUsedInPython3 | Used when the unichr built-in is referenced (Use chr in Python 3) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1636-mapReferencedInNonIteratingContext | Used when the map built-in is referenced in a non-iterating context (returns an iterator in Python 3) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1637-zipReferencedInNonIteratingContext | Used when the zip built-in is referenced in a non-iterating context (returns an iterator in Python 3) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1638-rangeReferencedInNonIteratingContext | Used when the range built-in is referenced in a non-iterating context (returns an iterator in Python 3) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1639-filterReferencedInNonIteratingContext | Used when the filter built-in is referenced in a non-iterating context (returns an iterator in Python 3) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1640-cmpArgumentShoudBeAvoided | Using the cmp argument for list.sort or the sorted builtin should be avoided, since it was removed in Python 3. Using either key or functools.cmp_to_key should be preferred. | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1641-equalAndHashMethodImplementedTogether | Used when a class implements __eq__ but not __hash__. In Python 2, objects get object.__hash__ as the default implementation, in Python 3 objects get None as their default __hash__ implementation if they also implement __eq__ | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1642-__div__methodNotUsedInPython3 | Used when a __div__ method is defined. Using __truediv__ and setting__div__ = __truediv__ should be preferred.(method is not used by Python 3) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1643-__idiv__methodNotUsedInPython3 | Used when an __idiv__ method is defined. Using __itruediv__ and setting__idiv__ = __itruediv__ should be preferred.(method is not used by Python 3) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1644-__rdiv__methodNotUsedInPython3 | Used when a __rdiv__ method is defined. Using __rtruediv__ and setting__rdiv__ = __rtruediv__ should be preferred.(method is not used by Python 3) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1645-exceptionMessageRemovedInPython3 | Used when the message attribute is accessed on an Exception. Use str(exception) instead | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1646-nonTextEncodingUsed | Used when using str.encode or str.decode with a non-text encoding. Use codecs module to handle arbitrary codecs. | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1647-sys.mainintRemovedInPython3 | Used when accessing sys.maxint. Use sys.maxsize instead. | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1648-moduleNotUsedInPython3 | Used when importing a module that no longer exists in Python 3 | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1649-stringFunctionDeprecatedInPython3 | Used when accessing a string function that has been deprecated in Python 3 | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1650-deprecatedDeleteCharsParameterUsed | Used when using the deprecated deletechars parameters from str.translate. Use re.sub to remove the desired characters | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1651-usedDeprecatedFunctionOnItertoolsModule | Used when accessing a function on itertools that has been removed in Python 3 | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1652-accessingADeprecatedFieldsOnTheTypesModule | Used when accessing a field on types that has been removed in Python 3 | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1653-nextMethodDeprecatedInPython3 | Used when a next method is defined that would be an iterator in Python 2 but is treated as a normal function in Python 3 | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1654-dict.itemsReferencedInNonIteratingContext | Used when dict.items is referenced in a non-iterating context (returns an iterator in Python 3) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1655-dict.keysReferencedInNonIteratingContext | Used when dict.keys is referenced in a non-iterating context (returns an iterator in Python 3) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1656-dict.valuesReferencedInNonIteratingContext | Used when dict.values is referenced in a non-iterating context (returns an iterator in Python 3) | Maintainability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| E0112-AvoidMoreThanOneStarredVar | Do not use more than one starred variable when unpacking. | Understandability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| E0117-nonlocalNameFoundWithoutBInding | Make sure that all nonlocals have a binding variable in the enclosing scopes. | Understandability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| E0236-invalidObjectsInSlots | Avoid using objects which shouldn’t appear in __slots__ definition. | Understandability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| E0238-invalidSlotObjects | Avoid using objects which are not suitable for defining __slots__ (only strings, iterables or sequences are permitted). | Understandability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| E0241-duplicateBasesForClass | Avoid defining a class which has more than one of the same bases at the same inheritance level. | Robustness | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| E0402-importError | Import Error | Understandability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| E0703-avoidRaiseFromSyntaxOnObjectsWithoutExceptions | Avoid using the raise-from syntax with objects which aren’t exceptions. | Robustness | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| E1127-sliceIdexNotAnInt | A slice index for builtin containers needs to be an integer, None or an instance with __index__ method. | Robustness | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| E1128-assigningToFunctionWhichReturnNone | Avoid assignment done on a function call but the inferred function returns nothing but None. | Robustness | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| E1132-functionCallWithRepeatedKeywordArg | Don’t call a function with a repeated keyword argument. | Understandability | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W0124-avoidContxtManagerReturningMultipleVals | Do not use context managers which returns multiple values and uses name binding with ‘as’ only for a part of those values. | Robustness | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| W1307-invalidLookUpKeyInFormatSpecifier | Don’t index objects which don’t support the index protocol when doing string formatting. | Robustness | https://pylint.readthedocs.io/en/latest/technical_reference/features.html |
| R0101-tooManyNestedBlocks | Used when a function or a method has too many nested blocks. This makes the code less understandable and maintainable. | Understandability | https://docs.pylint.org/en/1.6.0/features.html |
| R0102-simplifiableIfStatement | Used when an if statement can be replaced with ‘bool(test)’. | Understandability | https://docs.pylint.org/en/1.6.0/features.html |
