-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.flake8
More file actions
48 lines (48 loc) · 1.07 KB
/
.flake8
File metadata and controls
48 lines (48 loc) · 1.07 KB
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
[flake8]
max-line-length = 120
max-complexity = 15
extend-ignore =
# Whitespace before ':' (conflicts with Black)
E203,
# Line break before binary operator (conflicts with Black)
W503,
# Line too long (Black handles this, docstrings often need to be longer)
E501,
# All docstring-related warnings (pydocstyle handles these)
D,
# Unused imports (can fix later)
F401,
# Unused variables (can fix later)
F841,
# Undefined names from star imports (can fix later)
F403,
F405,
# Comparison warnings (can fix later)
E711,
E712,
E721,
E722,
# Bare except (can fix later)
B001,
# Bugbear warnings about mutable defaults, etc (can fix later)
B006,
B007,
B014,
B016,
B028,
# Function complexity (can fix later)
C901,
# Too many leading # (can fix later)
E266,
# Module level import not at top (can fix later)
E402,
# f-string without placeholders (can fix later)
F541
exclude =
.git,
__pycache__,
.venv,
venv,
*.egg-info,
build,
dist