-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.flake8
More file actions
34 lines (28 loc) · 872 Bytes
/
.flake8
File metadata and controls
34 lines (28 loc) · 872 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
[flake8]
# Python version target
python-version = 3.10
# Maximum line length (matches black's default, but we allow longer for URLs/paths)
max-line-length = 127
# Select only critical errors that would cause runtime issues
# E9: Runtime errors (e.g., IndentationError, SyntaxError)
# F63: Placeholder for assertions in pytests
# F7: Various errors (e.g., two starred expressions in assignment)
# F82: Undefined names
select = E9,F63,F7,F82
# Ignore specific error codes
# E203: Whitespace before ':' (conflicts with black)
# W503: Line break before binary operator (conflicts with black)
extend-ignore = E203,W503
# Directories to exclude from linting
exclude =
.git,
__pycache__,
.venv,
venv,
build,
dist,
*.egg-info
# Show source code for each error
show-source = true
# Show statistics (number of each type of error)
statistics = true