-
Notifications
You must be signed in to change notification settings - Fork 5.5k
/
.flake8
19 lines (19 loc) · 628 Bytes
/
.flake8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[flake8]
exclude = .git,.tox,__pycache__,.eggs,build
max-line-length = 100
ignore =
# E265 block comment should start with '# '
E265,
# E266 too many leading '#' for block comment
E266,
# E402 module level import not at top of file
E402,
# E722 do not use bare except
E722,
# flake8 and black disagree about
# W503 line break before binary operator
# E203 whitespace before ':'
# E701/E704 multiple statements on one line
# https://black.readthedocs.io/en/latest/guides/using_black_with_other_tools.html#labels-why-pycodestyle-warnings
W503,E203,E701,E704
doctests = true