-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.style.yapf
62 lines (61 loc) · 2.15 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# YAPF Configuration File
[style]
column_limit = 120
indent_width = 4
use_tabs = false
continuation_indent_width = 4
continuation_align_style = valign-right
join_multiple_lines = false
align_closing_bracket_with_visual_indent = false
allow_multiline_dictionary_keys = true
allow_multiline_lambdas = false
allow_split_before_default_or_named_assigns = true
allow_split_before_dict_value = true
arithmetic_precedence_indication = true
blank_line_before_class_docstring = true
blank_line_before_nested_class_or_def = true
blank_lines_around_top_level_definition = 1
blank_lines_between_top_level_imports_and_variables = 2
coalesce_brackets = true
dedent_closing_brackets = true
disable_ending_comma_heuristic = true
each_dict_entry_on_separate_line = true
force_multiline_dict = true
i18n_comment = "#! todo:"
i18n_function_call = []
indent_blank_lines = false
indent_closing_brackets = true
indent_dictionary_value = true
no_spaces_around_selected_binary_operators = ['/']
space_between_ending_comma_and_closing_bracket = false
space_inside_brackets = false
spaces_around_default_or_named_assign = true
spaces_around_dict_delimiters = true
spaces_around_list_delimiters = false
spaces_around_power_operator = false
spaces_around_subscript_colon = true
spaces_around_tuple_delimiters = false
spaces_before_comment="15, 20"
split_all_comma_separated_values = false
split_all_top_level_comma_separated_values = true
split_arguments_when_comma_terminated = false
split_before_arithmetic_operator = false
split_before_bitwise_operator = false
split_before_closing_bracket = true
split_before_dict_set_generator = true
split_before_dot = false
split_before_expression_after_opening_paren = false
split_before_first_argument = true
split_before_logical_operator = true
split_before_named_assigns = false
split_complex_comprehension = true
split_penalty_after_opening_bracket = 0
split_penalty_after_unary_operator = 100
split_penalty_arithmetic_operator = 0
split_penalty_before_if_expr = 100
split_penalty_bitwise_operator = 0
split_penalty_comprehension = 100
split_penalty_excess_character = 1
split_penalty_for_added_line_split = 50
split_penalty_import_names = 10
split_penalty_logical_operator = 100