Skip to content
This repository was archived by the owner on Jun 10, 2020. It is now read-only.

Commit b944586

Browse files
sproshevshoyer
authored andcommitted
Take flake8 config from typeshed (#22)
1 parent 7823acb commit b944586

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.flake8

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Some PEP8 deviations are considered irrelevant to stub files:
2+
# (error counts as of 2017-05-22)
3+
# 17952 E704 multiple statements on one line (def)
4+
# 12197 E301 expected 1 blank line
5+
# 7155 E302 expected 2 blank lines
6+
# 1463 F401 imported but unused
7+
# 967 E701 multiple statements on one line (colon)
8+
# 457 F811 redefinition
9+
# 390 E305 expected 2 blank lines
10+
# 4 E741 ambiguous variable name
11+
12+
# Nice-to-haves ignored for now
13+
# 2307 E501 line too long
14+
15+
# Other ignored warnings
16+
# W504 line break after binary operator
17+
18+
[flake8]
19+
ignore = F401, F403, F405, F811, E301, E302, E305, E501, E701, E704, E741, B303, W504

0 commit comments

Comments
 (0)