-
Notifications
You must be signed in to change notification settings - Fork 37
/
.flake8
29 lines (29 loc) · 896 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
[flake8]
# B = bugbear
# E = pycodestyle errors
# F = flake8 pyflakes
# W = pycodestyle warnings
# B9 = bugbear opinions
select = B, E, F, W, B9
ignore =
# slice notation whitespace, invalid
E203
# line length, handled by bugbear B950
E501
# bugbear line length; too sensitive, triggered for comments
# and docstrings (and adding "noqa" in comments is making things worse);
# black taking care of line length for code should be good enough;
# if enabled, we should set max-line-length = 80 (so up to 88 are allowed)
B950
# bare except, handled by bugbear B001
E722
# bin op line break, invalid
W503
# string formatting opinion
B907
# multiple statements on one line, handled by black
E704
per-file-ignores =
# __init__ modules export names
**/__init__.py: F401
exclude = tests/*, docs/*, scripts/*, src/reader/_vendor/*