-
Notifications
You must be signed in to change notification settings - Fork 124
Expand file tree
/
Copy path.flake8
More file actions
25 lines (22 loc) · 702 Bytes
/
.flake8
File metadata and controls
25 lines (22 loc) · 702 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
[flake8]
ignore =
# defaults flake8 ignores
E121,E123,E126,E226,E24,E704,W503,W504
# whitespace before ':'
# https://black.readthedocs.io/en/stable/the_black_code_style.html#slices
E203
# missing whitespace after ','
# black takes care of that. Sometimes it may
# add a comma at the end of lists.
E231
# Line too long
# We use black, no need to enforce line length
E501
# do not use bare except
# it's too stict, there are cases where we can.
# typically catch and re-raise
E722
per-file-ignores =
# imported but unused in __init__.py, that's ok.
**/__init__.py:F401
exclude = .venv,test_build_push.py