-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.flake8
More file actions
42 lines (39 loc) · 793 Bytes
/
.flake8
File metadata and controls
42 lines (39 loc) · 793 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
40
41
42
[flake8]
max-line-length = 100
extend-ignore =
# E203: whitespace before ':' (conflicts with black)
E203,
# W503: line break before binary operator (conflicts with black)
W503,
# E501: line too long (handled by black)
E501
exclude =
.git,
__pycache__,
.venv,
venv,
.pytest_cache,
build,
dist,
*.egg-info
per-file-ignores =
# Tests can have longer lines and more complexity
test_*.py: E501, C901
*_test.py: E501, C901
# Allow unused imports in __init__.py
__init__.py: F401
max-complexity = 10
doctests = True
statistics = True
count = True
show-source = True
# Additional checks
select =
# Pyflakes
F,
# pycodestyle errors
E,
# pycodestyle warnings
W,
# McCabe complexity
C901