-
Notifications
You must be signed in to change notification settings - Fork 6
/
.flake8
34 lines (29 loc) · 886 Bytes
/
.flake8
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
[flake8]
max-line-length = 100
exclude =
.git,
__pycache__,
.ipynb_checkpoints,
.mypy_cache,
.pytest_cache,
.venv,
examples
| tests # ignore test directories until we have a better solution for test datasets
per-file-ignores =
# Ignore imported but not used for __init__.py files.
__init__.py:F401
ignore =
# Don't complain about long docstring lines (yet).
W505,
# Allow whitespace before colon (black compatibility).
E203,
# Allow line break before binary operator (black compatibility).
W503,
# Don't fail over line length. We will clean them up as we go.
E501,
# Don't complain about star imports.
F403,F405,
# Don't complain about f"'{x}'" quotes. `!r` is not particularly readable, especially not for
# cases where one would have to resort to f"{str(x)!r}"
B028,
show-source = True