0 |
1 |
0 |
missing-module-docstring |
convention |
|
Missing module docstring |
1 |
1 |
0 |
unused-import |
warning |
|
Unused import os |
2 |
2 |
0 |
unused-import |
warning |
|
Unused Path imported from pathlib |
3 |
5 |
0 |
missing-function-docstring |
convention |
f |
Missing function or method docstring |
4 |
5 |
6 |
unused-argument |
warning |
f |
Unused argument 'a' |
5 |
5 |
9 |
unused-argument |
warning |
f |
Unused argument 'b' |
6 |
6 |
4 |
no-else-return |
refactor |
f |
Unnecessary "else" after "return", remove the "else" and de-indent the code inside it |
7 |
6 |
7 |
using-constant-test |
warning |
f |
Using a conditional statement with a constant value |
8 |
12 |
0 |
missing-class-docstring |
convention |
C |
Missing class docstring |
9 |
12 |
0 |
too-few-public-methods |
refactor |
C |
Too few public methods (1/2) |
10 |
16 |
4 |
missing-function-docstring |
convention |
C.f |
Missing function or method docstring |
11 |
17 |
8 |
import-outside-toplevel |
convention |
C.f |
Import outside toplevel (math) |
12 |
17 |
8 |
unused-import |
warning |
C.f |
Unused import math |
13 |
19 |
8 |
attribute-defined-outside-init |
warning |
C.f |
Attribute 'b' defined outside __init__ |
14 |
22 |
0 |
missing-function-docstring |
convention |
g |
Missing function or method docstring |
15 |
23 |
11 |
f-string-without-interpolation |
warning |
g |
Using an f-string that does not have any interpolated variables |