Bad
type
operand placement PTC-W0024 × 1Unnecessary
delete
statement in a local scope PTC-W0043 × 3if
statements can be merged PTC-W0048 × 3Unused nested function or class detected PTC-W0065 × 1
Imported name is not used anywhere in the module PY-W2000 × 1
Re-definition found for builtin function
PYL-W0622
Anti-pattern
Major
1
Defining equality for a class without also defining hashability
PYL-W1641
Bug risk
Major
3
Exceptions are overlapping
PYL-W0714
Anti-pattern
Major
6
Unnecessary delete
statement in a local scope
PTC-W0043
Anti-pattern
Major
3
if
statements can be merged
PTC-W0048
Anti-pattern
Major
3
Branches of the if
statement have similar implementation
PTC-W0051
Anti-pattern
Major
1
Unused nested function or class detected
PTC-W0065
Anti-pattern
Major
1
Imported name is not used anywhere in the module
PY-W2000
Anti-pattern
Major
1
Bad type
operand placement
PTC-W0024
Style
Minor
1