-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.cfg
42 lines (38 loc) · 1.08 KB
/
setup.cfg
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
[pycodestyle]
max-line-length = 120
ignore = E111, E114
#continuation line with same indent as next logical line
E125
[pep8]
indent_size=2
[flake8]
exclude = .git,__pycache__,docs/source/conf.py,old,build,dist
ignore =
# indentation is not a multiple of 4
E111
# indentation is not a multiple of 4 (comment)
E114
# closing bracket does not match visual indentation
E124
# continuation line with same indent as next logical line
E125
# continuation line over-indented for visual indent
E127
# line break before binary operator
W503
max-line-length=120
hang_closing=true
[yapf]
based_on_style = pep8
DEDENT_CLOSING_BRACKETS=false
COALESCE_BRACKETS=false
COLUMN_LIMIT=120
EACH_DICT_ENTRY_ON_SEPARATE_LINE=true
INDENT_WIDTH=2
SPACES_BEFORE_COMMENT=1
SPACES_AROUND_DEFAULT_OR_NAMED_ASSIGN=true
SPLIT_ARGUMENTS_WHEN_COMMA_TERMINATED=true
SPLIT_BEFORE_EXPRESSION_AFTER_OPENING_PAREN=false
SPLIT_BEFORE_FIRST_ARGUMENT=false
SPLIT_PENALTY_AFTER_OPENING_BRACKET=1000000
BLANK_LINE_BEFORE_NESTED_CLASS_OR_DEF=false