]> git.ipfire.org Git - thirdparty/tornado.git/blame - .flake8
Merge pull request #3420 from bdarnell/rtd
[thirdparty/tornado.git] / .flake8
CommitLineData
b9a7ee55 1[flake8]
f7a7026c 2exclude = .git,.tox,__pycache__,.eggs,build
b9a7ee55
PL
3max-line-length = 100
4ignore =
b9a7ee55
PL
5 # E265 block comment should start with '# '
6 E265,
7 # E266 too many leading '#' for block comment
8 E266,
9 # E402 module level import not at top of file
10 E402,
11 # E722 do not use bare except
12 E722,
72026c5e
BD
13 # flake8 and black disagree about
14 # W503 line break before binary operator
15 # E203 whitespace before ':'
291d1b66
BD
16 # E701/E704 multiple statements on one line
17 # https://black.readthedocs.io/en/latest/guides/using_black_with_other_tools.html#labels-why-pycodestyle-warnings
18 W503,E203,E701,E704
19e54b09 19doctests = true