| 'import *' may pollute namespace |
Maintainability |
Recommendation |
| Backspace escape in regular expression |
Maintainability |
Recommendation |
| Commented-out code |
Maintainability |
Recommendation |
| Comparison of constants |
Maintainability |
Warning |
| Comparison of identical values |
Maintainability |
Warning |
| Constant in conditional expression or statement |
Maintainability |
Warning |
| Duplicate key in dict literal |
Maintainability |
Warning |
| Duplication in regular expression character class |
Maintainability |
Warning |
| First parameter of a class method is not named 'cls' |
Maintainability |
Recommendation |
| First parameter of a method is not named 'self' |
Maintainability |
Recommendation |
| Implicit string concatenation in a list |
Maintainability |
Warning |
| Imprecise assert |
Maintainability |
Recommendation |
| Module imports itself |
Maintainability |
Recommendation |
| Module is imported more than once |
Maintainability |
Recommendation |
| Module is imported with 'import' and 'import from' |
Maintainability |
Recommendation |
| Nested loops with same variable |
Maintainability |
Recommendation |
Overly complex __del__ method |
Maintainability |
Recommendation |
| Redundant comparison |
Maintainability |
Warning |
| Should use a 'with' statement |
Maintainability |
Recommendation |
| Statement has no effect |
Maintainability |
Recommendation |
| Unnecessary 'else' clause in loop |
Maintainability |
Warning |
| Unnecessary lambda |
Maintainability |
Recommendation |
| Unnecessary pass |
Maintainability |
Warning |
| Unreachable code |
Maintainability |
Warning |
| Unused argument in a formatting call |
Maintainability |
Warning |
| Unused global variable |
Maintainability |
Recommendation |
| Unused import |
Maintainability |
Recommendation |
| Unused local variable |
Maintainability |
Recommendation |
| Unused named argument in formatting call |
Maintainability |
Warning |
| Use of 'global' at module level |
Maintainability |
Warning |
| Use of the return value of a procedure |
Maintainability |
Warning |
| Variable defined multiple times |
Maintainability |
Warning |
__del__ is called explicitly |
Reliability |
Warning |
__eq__ not overridden when adding attributes |
Reliability |
Warning |
__init__ method calls overridden method |
Reliability |
Warning |
__init__ method is a generator |
Reliability |
Error |
__init__ method returns a value |
Reliability |
Error |
__iter__ method returns a non-iterator |
Reliability |
Error |
| An assert statement has a side-effect |
Reliability |
Error |
| Asserting a tuple |
Reliability |
Error |
Comparison using is when operands support __eq__ |
Reliability |
Warning |
| Conflicting attributes in base classes |
Reliability |
Warning |
| Empty except |
Reliability |
Recommendation |
| Encoding error |
Reliability |
Error |
| Except block handles 'BaseException' |
Reliability |
Recommendation |
| Explicit export is not defined |
Reliability |
Error |
| Explicit returns mixed with implicit (fall through) returns |
Reliability |
Recommendation |
| File is not always closed |
Reliability |
Warning |
| First argument to super() is not enclosing class |
Reliability |
Error |
| Formatted object is not a mapping |
Reliability |
Error |
| Formatting string mixes implicitly and explicitly numbered fields |
Reliability |
Error |
| Illegal raise |
Reliability |
Error |
| Incomplete ordering |
Reliability |
Warning |
| Inconsistent equality and hashing |
Reliability |
Warning |
| Inconsistent equality and inequality |
Reliability |
Warning |
| Inconsistent method resolution order |
Reliability |
Error |
| Iterable can be either a string or a sequence |
Reliability |
Error |
Iterator does not return self from __iter__ method |
Reliability |
Error |
| Loop variable capture |
Reliability |
Error |
| Maybe missing 'self' in comparison |
Reliability |
Warning |
| Membership test with a non-container |
Reliability |
Error |
| Mismatch between signature and use of an overridden method |
Reliability |
Recommendation |
| Mismatch between signature and use of an overriding method |
Reliability |
Error |
| Mismatch in multiple assignment |
Reliability |
Error |
Missing call to superclass __del__ during object destruction |
Reliability |
Error |
Missing call to superclass __init__ during object initialization |
Reliability |
Error |
| Missing named arguments in formatting call |
Reliability |
Error |
| Missing part of special group in regular expression |
Reliability |
Warning |
| Modification of dictionary returned by locals() |
Reliability |
Warning |
| Modification of parameter with default |
Reliability |
Error |
Multiple calls to __del__ during object destruction |
Reliability |
Warning |
Multiple calls to __init__ during object initialization |
Reliability |
Warning |
Mutation of descriptor in __get__ or __set__ method |
Reliability |
Error |
| Nested loops with same variable reused after inner loop body |
Reliability |
Error |
| Non-callable called |
Reliability |
Error |
| Non-exception in 'except' clause |
Reliability |
Error |
| Non-iterable used in for loop |
Reliability |
Error |
| Non-standard exception raised in special method |
Reliability |
Recommendation |
Raising NotImplemented |
Reliability |
Warning |
| Redundant assignment |
Reliability |
Error |
| Returning tuples with varying lengths |
Reliability |
Recommendation |
| Signature mismatch in overriding method |
Reliability |
Warning |
| Special method has incorrect signature |
Reliability |
Error |
| Superclass attribute shadows subclass method |
Reliability |
Error |
| Suspicious unused loop iteration variable |
Reliability |
Error |
| Syntax error |
Reliability |
Error |
| Testing equality to None |
Reliability |
Recommendation |
| Too few arguments in formatting call |
Reliability |
Error |
| Unhashable object hashed |
Reliability |
Error |
| Unmatchable caret in regular expression |
Reliability |
Error |
| Unmatchable dollar in regular expression |
Reliability |
Error |
Unreachable except block |
Reliability |
Error |
| Unsupported format character |
Reliability |
Error |
| Unused exception object |
Reliability |
Error |
| Use of a print statement at module level |
Reliability |
Recommendation |
| Use of exit() or quit() |
Reliability |
Warning |
| Wrong name for an argument in a call |
Reliability |
Error |
| Wrong name for an argument in a class instantiation |
Reliability |
Error |
| Wrong number of arguments for format |
Reliability |
Error |
| Wrong number of arguments in a call |
Reliability |
Error |
| Wrong number of arguments in a class instantiation |
Reliability |
Error |