forked from Checkmk/checkmk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.flake8
61 lines (61 loc) · 2.08 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
[flake8]
ignore=
################################################################################################
# Black is our formatting tool, so ignore any formatting-related findings.
################################################################################################
# whitespace before ':'
E203,
# missing whitespace around arithmetic operator
E226,
# multiple spaces after ':'
E241,
# unexpected spaces around keyword / parameter equals
E251,
# inline comment should start with '# '
E262,
# block comment should start with '# '
E265,
# too many leading '#' for block comment
E266,
# multiple spaces before keyword
E272,
# missing whitespace after keyword
E275,
# expected 1 blank line, found 0
E301,
# expected 2 blank lines, found 1
E302,
# too many blank lines
E303,
# line too long
E501,
# line break before binary operator
W503,
# line break after binary operator
W504,
# multiple statements on one line (colon)
E701,
# multiple statements on one line (def)
E704,
################################################################################################
# Ignore findings which are incompatible with our "import" techonology.
################################################################################################
# 'FOO' imported but unused
F401,
# module level import not at top of file
E402,
# 'from FOO import *' used; unable to detect undefined names
F403,
# 'FOO' may be undefined, or defined from star imports: BAR
F405,
################################################################################################
# We should probably have a look at these findings.
################################################################################################
# do not assign a lambda expression, use a def
E731,
# ambiguous variable name 'FOO'
E741,
# undefined name 'FOO'
F821,
# local variable 'FOO' is assigned to but never used
F841,