-
Notifications
You must be signed in to change notification settings - Fork 6
/
.pep8
81 lines (76 loc) · 1.86 KB
/
.pep8
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
[pycodestyle]
exclude = .git,__pycache__,docs,build,dist,examples,setup.py,bin,.eggs
max-line-length = 80
ignore =
# module level import location
E402,
# space before/after operator
E221, E222,E251,
# multiple spaces after/after keyword
E271, E272,
# whitespace before/after ...
E201, E203, E202, E231, E241, E211, E116, E127,
# same indent
E129,
# comment indent not mod(4)
E114,
# cont line indentation
E128, E126, E124, E125, E131,
# blank lines
W391, E301, E303,
# multiple statements on one line
E701, E702, E704,
# space before bracket
C0326,
# trailing whitespace
W291,
# Complex methods
C901,
# Do not use bare 'except'
E722,
# Line break after binary operator
W504,
# variable names
E741,
# superfluous per-file ignore (empty __init__.py)
X100
[flake8]
exclude = .git,__pycache__,docs,build,dist,examples,setup.py,bin,.eggs
max-complexity = 10
max-line-length = 80
ignore =
# module level import location
E402,
# space before/after operator
E221, E222,E251,
# multiple spaces after/after keyword
E271, E272,
# whitespace before/after ...
E201, E203, E202, E231, E241, E211, E116, E127,
# same indent
E129,
# comment indent not mod(4)
E114,
# cont line indentation
E128, E126, E124, E125, E131,
# blank lines
W391, E301, E303,
# multiple statements on one line
E701, E702, E704,
# space before bracket
C0326,
# trailing whitespace
W291,
# Complex methods
C901,
# Do not use bare 'except'
E722,
# Line break after binary operator
W504,
# variable names
E741,
# superfluous per-file ignore (empty __init__.py)
X100
per-file-ignores =
# import '*', imported but unused
__init__.py: F403, F401