Consider decorating method with
@staticmethod
PYL-R0201 × 1Unnecessary
else
/ elif
used after return
PYL-R1705 × 2f-string
used without any expression PTC-W0027 × 2Consider decorating method with @staticmethod
PYL-R0201
Performance
Major
1
Unnecessary else
/ elif
used after return
PYL-R1705
Style
Major
2
f-string
used without any expression
PTC-W0027
Anti-pattern
Major
2
Missing module/function docstring
PY-D0003
Documentation
Minor
2
Missing class docstring
PY-D0002
Documentation
Minor
1