-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.flake8
More file actions
22 lines (22 loc) · 751 Bytes
/
.flake8
File metadata and controls
22 lines (22 loc) · 751 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[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
# E203 is often wrong and black is right
E203
# isort handles this now
E402
# already covered by PyLint and gives false positives for typing.overload
F811
max-line-length = 100