-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flake8
65 lines (62 loc) · 2.62 KB
/
.flake8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[flake8]
max-line-length = 120
extend-ignore = E203 # Ignore "whitespace before ':'" because it conflicts with black
W503 # Ignore "line break before binary operator" becaus it conflicts with black
# TODO enable all checks below here over time
# See all error code at https://flake8.pycqa.org/en/latest/user/error-codes.html
E722
F405
F821
E262
E265
E266
E402
PT018 # Pytest related (good first task)
F841 # Unused variable (good first task)
E501 # Line lenght (good first task)
C408
B001
B006
B007 # Unused variable in loop (good first task)
B008
B023
PL118 # Pathlib usage (good first task)
PL123 # Pathlib usage (good first task)
PL107 # Pathlib usage (good first task)
PL103 # Pathlib usage (good first task)
PL110 # Pathlib usage (good first task)
PL117 # Pathlib usage (good first task)
# Flake8 config for Jupyter notebooks
[flake8_nb]
max-line-length = 120
extend-ignore = E203 # Ignore "whitespace before ':'" because it conflicts with black
W503 # Ignore "line break before binary operator" becaus it conflicts with black
# TODO enable all checks below here over time
# See all error code at https://flake8.pycqa.org/en/latest/user/error-codes.html
E722
F405
F821
E262
E265
E266
E402
E714 # not is -> is not (good first task)
E741 # variable names (important)
PT018 # Pytest related (good first task)
E703 # Semicolon (good first task)
E501 # Line lenght (good first task)
F841 # Unused variable (good first task)
F541 # Missing f-string (good first task)
C408
B001
B006
B007 # Unused variable in loop (good first task)
B008
B023
PL118 # Pathlib usage (good first task)
PL123 # Pathlib usage (good first task)
PL107 # Pathlib usage (good first task)
PL103 # Pathlib usage (good first task)
PL110 # Pathlib usage (good first task)
PL117 # Pathlib usage (good first task)
PT023 # Pytest annotation (good first task)