-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.flake8
More file actions
39 lines (33 loc) · 670 Bytes
/
.flake8
File metadata and controls
39 lines (33 loc) · 670 Bytes
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
[flake8]
# Maximum line length (aligned with black)
max-line-length = 100
# Ignore specific errors
extend-ignore =
# E203: whitespace before ':' (conflicts with black)
E203,
# W503: line break before binary operator (black style)
W503,
# E501: line too long (handled by black)
E501
# Exclude directories
exclude =
.git,
.venv,
venv,
archive,
data,
logs,
htmlcov,
__pycache__,
node_modules,
*.egg-info,
build,
dist
# Maximum complexity (McCabe)
max-complexity = 15
# Show source code for each error
show-source = True
# Show statistics at the end
statistics = True
# Count errors
count = True