This repository was archived by the owner on Feb 7, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.flake8
77 lines (77 loc) · 2.24 KB
/
.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[flake8]
ignore =
# E111: indentation is not a multiple of four
E111,
# E114: Indentation is not a multiple of four (comment)
E114,
# E121: continuation line under-indented for hanging indent
E121,
# E123: closing bracket does not match indentation of opening bracket's line
E123,
# E124: closing bracket does not match visual indentation
E124,
# E125: continuation line with same indent as next logical line
E125,
# E126: continuation line over-indented for hanging indent
E126,
# E127: continuation line over-indented for visual indent
E127,
# E128: continuation line under-indented for visual indent
E128,
# E131: continuation line unaligned for hanging indent
E131,
# E201, E202: whitespace after '{', '}'
E201,E202
# E203: whitespace before ':'
E203,
# E221: multiple spaces before operator
E221,
# E222: multiple spaces after operator
E222,
# E225: missing whitespace around operator
E225,
# E226: missing whitespace around arithmetic operator
E226,
# E231: missing whitespace after ','
E231,
# E251: unexpected spaces around keyword / parameter equals
E251,
# E252 missing whitespace around parameter equals
E252,
# E261: at least two spaces before inline comment
E261,
# E262: inline comment should start with '# '
E262,
# E265: block comment should start with '# '
E265,
# E271,E272: multiple spaces {after, before} keyword
E271,E272,
# W291: trailing whitespace
W291,
# W292: no newline at end of file
W292,
# W293: blank line contains whitespace
W293,
# E301: expected 1 blank line, found 0
E301,
# E302: expected 2 blank lines, found 1
E302,
# E303: too many blank lines
E303,
# E305: expected 2 blank lines after class or function definition, found 1
E305,
# W391: blank line at end of file
W391,
# E501: line too long
E501,
# W504: line break after binary operator
W504,
# E722: do not use bare 'except'
E722,
# 2020-08-11 by OK: I want to get rid of the following 7xx ignores, but the
# is not/not in rules are violated in a lot of places and there are more
# immediately broken things that need to be fixed first
# E713: test for membership should be 'not in'
E713,
# E714: test for object identity should be 'is not'
E714,