Unnecessary
else
/ elif
used after return
PYL-R1705 × 3f-string
used without any expression PTC-W0027 × 1Function/method with an empty body PTC-W0049 × 1
Imported name is not used anywhere in the module PY-W2000 × 1
Consider removing the commented out code block PY-W0069 × 9
Expression not assigned
PYL-W0106
Performance
Major
12
Unnecessary else
/ elif
used after return
PYL-R1705
Style
Major
3
f-string
used without any expression
PTC-W0027
Anti-pattern
Major
1
Unit test class with no tests
PTC-W0046
Anti-pattern
Major
1
Function/method with an empty body
PTC-W0049
Anti-pattern
Major
1
Imported name is not used anywhere in the module
PY-W2000
Anti-pattern
Major
1
Consider removing the commented out code block
PY-W0069
Anti-pattern
Major
9
Attribute defined outside __init__
PYL-W0201
Anti-pattern
Minor
8
Inconsistent return statements
PYL-R1710
Style
Minor
1
Use of FIXME
/XXX
/TODO
encountered
PYL-W0511
Documentation
Minor
5