-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.flake8
More file actions
39 lines (36 loc) · 797 Bytes
/
Copy path.flake8
File metadata and controls
39 lines (36 loc) · 797 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]
max-line-length = 127
max-complexity = 10
select = E,W,F,C
ignore =
# E203: whitespace before ':' (conflicts with black)
E203,
# E501: line too long (handled by black)
E501,
# W503: line break before binary operator (conflicts with black)
W503,
# F401: imported but unused (handled by isort)
F401
exclude =
.git,
__pycache__,
.venv,
venv,
.eggs,
*.egg,
build,
dist,
migrations,
.mypy_cache,
.pytest_cache
per-file-ignores =
# Tests can have longer lines and unused imports
tests/*:E501,F401,F811
# __init__.py files can have unused imports
__init__.py:F401
# Settings files can have long lines
*/config.py:E501
*/settings.py:E501
count = True
statistics = True
show-source = True