-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy path.flake8
More file actions
33 lines (30 loc) · 672 Bytes
/
.flake8
File metadata and controls
33 lines (30 loc) · 672 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
[flake8]
# Keep flake8 compatible with Black:
# - E203 and W503 conflict with Black's formatting choices.
# - E501 (line length) is managed by Black; we still set max-line-length for plugins that read it.
max-line-length = 120
extend-ignore =
E203,
E501,
W503,
C901,
# Core error families:
select = B,C,E,F,W
# Common junk folders we don't want to lint
exclude =
.git,
__pycache__,
.tox,
.mypy_cache,
.pytest_cache,
build,
dist,
migrations,
venv,
.venv,
.eggs,
*.egg,
docs/_build
# Tolerate unused imports in package initializers and allow test module oddities
per-file-ignores =
__init__.py:F401