forked from Checkmk/checkmk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flake8
80 lines (80 loc) · 2.93 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
78
79
80
[flake8]
# In .style.yapf and .pylintrc we use 100, but in some cases this isn't enforced.
max-line-length=550
ignore=
################################################################################################
# Miscellaneous stuff
################################################################################################
# Incompatible with the vim folding markers:
# block comment should start with '# '
E265,
# Incompatible with our conditional imports:
# module level import not at top of file
E402,
# Incompatible with our re-exports:
# 'from FOO import *' used; unable to detect undefined names
F403,
# Incompatible with our exec/eval magic:
# 'FOO' may be undefined, or defined from star imports
F405,
# Bug in pyflakes
# syntax error in type comment 'FOO'
F723,
# Bug in pyflakes, already fixed in https://github.com/PyCQA/pyflakes/pull/455, but no release in sight after ages... :-P
# undefined name 'FOO'
F821,
# Highly questionable advice, we don't use the "Guido-hates-FP"-style...
# do not assign a lambda expression, use a def
E731,
################################################################################################
# Incompatible with YAPF
################################################################################################
# continuation line under-indented for hanging indent
E121,
# closing bracket does not match visual indentation
E124,
# continuation line with same indent as next logical line
E125,
# continuation line unaligned for hanging indent
E131,
# missing whitespace around operator
E225,
# missing whitespace after ','
E231,
# expected 1 blank line, found FOO
E301,
# expected 2 blank lines after class or function definition, found FOO
E305,
# line break before binary operator
W503,
# line break after binary operator
W504,
# unexpected spaces around keyword / parameter equals
E251,
################################################################################################
# We should probably fix the stuff below, but it's just too much noise for now...
################################################################################################
# continuation line missing indentation or outdented
E122,
# continuation line over-indented for hanging indent
E126,
# continuation line over-indented for visual indent
E127,
# continuation line under-indented for visual indent
E128,
# visually indented line with same indent as next logical line
E129,
# whitespace after '{'
E201,
# whitespace before '}'
E202,
# whitespace before ':'
E203,
# multiple spaces before operator
E221,
# missing whitespace around arithmetic operator
E226,
# multiple spaces after ','
E241,
# ambiguous variable name 'FOO'
E741,