-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flake8
60 lines (54 loc) · 1.68 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
[flake8]
count = True
exclude=.hg,.git,__pycache__,.tox,docs,tests,.nonpubfiles,temp
# max-complexity = 10
max-complexity = 25
# hang-closing = True
ignore=
# D100 Missing docstring in public module
# D100,
# D101 Missing docstring in public class
D101,
# D102 Missing docstring in public method
D102,
# D103 Missing docstring in public function
D103,
# D104 Missing docstring in public package
D104,
# D105 Missing docstring in magic method
D105,
# D107 Missing docstring in __init__
D107,
# D205 1 blank line required between summary line and description
# D205,
# D400 First line should end with a period
# D400,
# D403 First word of the first line should be properly capitalized
# D403,
# D412 No blank lines allowed between a section header and its content
D412,
# E123 closing bracket does not match indentation of opening bracket's line
# E123,
# 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,
# E731 do not assign a lambda expression, use a def
E731,
# F403 'from module import *' used; unable to detect undefined names
F403,
# F405 name may be undefined, or defined from star imports: module
F405,
# N803 argument name should be lowercase
N803,
# N806 variable in function should be lowercase
N806,
# W503 line break before binary operator
W503,
# W504 line break after binary operator
# W504,
# pycodestyle default:
# E121, E123, E126, E226, E24, E704, W503, W504
# vim: set ft=dosini: