-
Notifications
You must be signed in to change notification settings - Fork 0
/
.style.yapf
45 lines (43 loc) · 1.27 KB
/
.style.yapf
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
[style]
based_on_style = chromium
COLUMN_LIMIT=100
INDENT_WIDTH=4
#True
ALIGN_CLOSING_BRACKET_WITH_VISUAL_INDENT=False
ALLOW_MULTILINE_LAMBDAS=False
# False
ALLOW_MULTILINE_DICTIONARY_KEYS=True
# False
BLANK_LINE_BEFORE_NESTED_CLASS_OR_DEF=True
BLANK_LINE_BEFORE_CLASS_DOCSTRING=False
COALESCE_BRACKETS=True
CONTINUATION_INDENT_WIDTH=4
DEDENT_CLOSING_BRACKETS=False
EACH_DICT_ENTRY_ON_SEPARATE_LINE=True
I18N_COMMENT=''
I18N_FUNCTION_CALL=''
# Indent the dictionary value if it cannot fit on the same line as the dictionary key. For example:
# False
INDENT_DICTIONARY_VALUE=True
JOIN_MULTIPLE_LINES=False
# True
SPACE_BETWEEN_ENDING_COMMA_AND_CLOSING_BRACKET=False
SPACES_AROUND_POWER_OPERATOR=False
SPACES_AROUND_DEFAULT_OR_NAMED_ASSIGN=False
SPACES_BEFORE_COMMENT=2
SPLIT_ARGUMENTS_WHEN_COMMA_TERMINATED=False
SPLIT_BEFORE_BITWISE_OPERATOR=False
SPLIT_BEFORE_DICT_SET_GENERATOR=True
SPLIT_BEFORE_FIRST_ARGUMENT=False
SPLIT_BEFORE_LOGICAL_OPERATOR=False
# True
SPLIT_BEFORE_NAMED_ASSIGNS=False
SPLIT_PENALTY_AFTER_OPENING_BRACKET=30
SPLIT_PENALTY_AFTER_UNARY_OPERATOR=10000
SPLIT_PENALTY_BEFORE_IF_EXPR=0
SPLIT_PENALTY_BITWISE_OPERATOR=300
SPLIT_PENALTY_EXCESS_CHARACTER=4500
SPLIT_PENALTY_FOR_ADDED_LINE_SPLIT=30
SPLIT_PENALTY_IMPORT_NAMES=0
SPLIT_PENALTY_LOGICAL_OPERATOR=300
USE_TABS=False