-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.flake8
More file actions
40 lines (38 loc) · 1.19 KB
/
.flake8
File metadata and controls
40 lines (38 loc) · 1.19 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
[flake8]
max-line-length = 120
extend-ignore =
# Black compatibility - black formats slices with spaces before ':'
E203,
# Line break before binary operator (black preference)
W503,
# Line too long (use max-line-length instead)
E501,
# Trailing whitespace (black handles code; residual in multiline strings)
W291,W293,
# f-string without placeholders (cosmetic, common in logging/UI code)
F541,
# Module-level import not at top (intentional for conditional/optional deps)
E402,
# Bare except (intentional in security/cleanup code)
E722,
# Comparison to True/False (style preference)
E712,
# Lambda assignment (style preference)
E731
exclude =
.git,
__pycache__,
build,
dist,
.eggs,
.venv,
venv
# F401 (unused imports) - many are conditional/optional dependency try/except imports
# F811 (redefinition) - intentional re-imports after try/except fallbacks
# F841 (unused variable) - some intentional in security code
per-file-ignores =
tests/*: E402,F401,F811
verify_*.py: E402,F401
meow_decoder/*_DEBUG.py: F401,F811,F841
meow_decoder/*.py: F401,F811,F841
meow_decoder/spec_v12/*.py: F401,F811,F841