-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.flake8
More file actions
24 lines (23 loc) · 846 Bytes
/
.flake8
File metadata and controls
24 lines (23 loc) · 846 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
[flake8]
exclude =
# __init__.py file imports raise warnings about unused imports
__init__.py
ignore =
# False positives on imports used only in generic type annotations
F401
# In conflict with modern PEP8, see https://gitlab.com/pycqa/flake8/issues/139
W503
# the next two are hanging indent errors. We exclude these because pylint
# already catches them and in a few places we need to manually suppress
# them to avoid fighting with PyCharm. We'd rather just add one
# suppression comment.
E128
E131
# flake8's idea of spacing around ':' differs from black's
E203
# both the following are related to whitespace. We don't worry about whitepace issues
# and let black handle it all.
W291
W293
# we primarily rely on black to take care of line length
max-line-length = 200