-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.flake8
More file actions
29 lines (29 loc) · 697 Bytes
/
.flake8
File metadata and controls
29 lines (29 loc) · 697 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
[flake8]
max-line-length = 88
max-complexity = 15
ignore =
# E203: whitespace before ':' (conflicts with black)
E203,
# E501: line too long (handled by max-line-length)
E501,
# W503: line break before binary operator (PEP 8 recommends this)
W503
exclude =
.git,
__pycache__,
build,
dist,
*.egg-info,
.tox,
.venv,
venv,
node_modules
per-file-ignores =
# Allow complexity in development tools
src/dev/*:C901
# Allow imports at top of __init__.py files
*/__init__.py:F401
# Allow complexity in specific CLI and TUI functions
src/sot/bench/cli.py:C901
src/sot/disk/disk_tui.py:C901
src/sot/info/cli.py:C901