-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.flake8
More file actions
31 lines (29 loc) · 913 Bytes
/
.flake8
File metadata and controls
31 lines (29 loc) · 913 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
[flake8]
max-line-length = 120
exclude =
.git,
__pycache__,
.venv,
venv,
env,
.pytest_cache,
instance,
data,
migrations,
node_modules,
vulture_whitelist.py
# Global ignores for legitimate cases:
# E203: Whitespace before ':' - conflicts with black formatter in slices (e.g., list[start : end])
# E501: Line too long - reasonable limit (120 chars), some M3U8 format strings exceed this
# W503: Line break before binary operator - conflicts with black (black prefers breaks before operators)
ignore = E203,E501,W503
# Per-file ignores:
# app.py E402: Flask application factory pattern requires imports after app initialization
# test files/scripts E402: Imports after sys.path manipulation for test/script setup
per-file-ignores =
app.py:E402
migrate_tags.py:E402
test_tags.py:E402
tests/conftest.py:E402
tests/test_*.py:E402
scripts/*.py:E402