|
| 1 | +# YAPF Configuration File |
| 2 | + |
1 | 3 | [style]
|
2 |
| -based_on_style = |
3 |
| -column_limit = 88 |
4 |
| -align_closing_bracket_with_visual_indent |
5 |
| -allow_multiline_lambdas |
6 |
| -allow_multiline_dictionary_keys |
7 |
| -allow_split_before_default_or_named_assigns = |
8 |
| -allow_split_before_dict_value = |
9 |
| -arithmetic_precedence_indication = |
| 4 | +based_on_style = pep8 |
| 5 | +align_closing_bracket_with_visual_indent = False |
| 6 | +allow_multiline_lambdas = False |
| 7 | +allow_multiline_dictionary_keys = True |
| 8 | +allow_split_before_default_or_named_assigns = True |
| 9 | +allow_split_before_dict_value = True |
| 10 | +arithmetic_precedence_indication = True |
10 | 11 | blank_lines_around_top_level_definition = 1
|
11 |
| -blank_line_before_class_docstring = true |
| 12 | +blank_line_before_class_docstring = True |
12 | 13 | blank_lines_between_top_level_imports_and_variables = 2
|
13 |
| -coalesce_brackets = |
14 |
| -column_limit = |
15 |
| -continuation_align_style = |
16 |
| -continuation_indent_width = |
17 |
| -dedent_closing_brackets = |
18 |
| -disable_ending_comma_heuristic = |
19 |
| -disable_split_list_with_comment = |
20 |
| -each_dict_entry_on_separate_line = |
21 |
| -force_multiline_dict = |
22 |
| -i18n_comment = |
23 |
| -i18n_function_call = |
24 |
| -indent_blank_lines = |
25 |
| -indent_closing_brackets = |
26 |
| -indent_dictionary_value = |
27 |
| -indent_width = |
28 |
| -join_multiple_lines = |
29 |
| -no_spaces_around_selected_binary_operators = |
30 |
| -space_between_ending_comma_and_closing_bracket = |
31 |
| -space_inside_brackets = |
32 |
| -spaces_around_default_or_named_assign = true |
33 |
| -spaces_around_dict_delimiters = false |
34 |
| -spaces_around_list_delimiters = false |
35 |
| -spaces_around_power_operator = true |
36 |
| -spaces_around_subscript_colon = |
37 |
| -spaces_around_tuple_delimiters = |
| 14 | +coalesce_brackets = True |
| 15 | +column_limit = 120 |
| 16 | +continuation_align_style = VALIGN-RIGHT |
| 17 | +continuation_indent_width = 4 |
| 18 | +dedent_closing_brackets = True |
| 19 | +disable_ending_comma_heuristic = True |
| 20 | +each_dict_entry_on_separate_line = True |
| 21 | +force_multiline_dict = True |
| 22 | +i18n_comment = "#! TODO:" |
| 23 | +i18n_function_call = [] |
| 24 | +indent_blank_lines = False |
| 25 | +indent_closing_brackets = True |
| 26 | +indent_dictionary_value = True |
| 27 | +indent_width = 2 |
| 28 | +use_tabs = True |
| 29 | +join_multiple_lines = False |
| 30 | +no_spaces_around_selected_binary_operators = ['/'] |
| 31 | +space_between_ending_comma_and_closing_bracket = False |
| 32 | +space_inside_brackets = False |
| 33 | +spaces_around_default_or_named_assign = True |
| 34 | +spaces_around_dict_delimiters = True |
| 35 | +spaces_around_list_delimiters = False |
| 36 | +spaces_around_power_operator = False |
| 37 | +spaces_around_subscript_colon = True |
| 38 | +spaces_around_tuple_delimiters = False |
38 | 39 | spaces_before_comment="15, 20"
|
39 |
| -split_all_comma_separated_values = |
40 |
| -split_all_top_level_comma_separated_values = |
41 |
| -split_arguments_when_comma_terminated = |
42 |
| -split_before_arithmetic_operator = |
43 |
| -split_before_bitwise_operator = |
44 |
| -split_before_closing_bracket = |
45 |
| -split_before_dict_set_generator = |
46 |
| -split_before_dot = |
47 |
| -split_before_expression_after_opening_paren = |
48 |
| -split_before_first_argument = |
49 |
| -split_before_logical_operator = true |
50 |
| -split_before_named_assigns = |
51 |
| -split_complex_comprehension = |
52 |
| -split_penalty_after_opening_bracket = |
53 |
| -split_penalty_after_unary_operator = |
54 |
| -split_penalty_arithmetic_operator = |
55 |
| -split_penalty_before_if_expr = |
56 |
| -split_penalty_bitwise_operator = |
57 |
| -split_penalty_comprehension = |
58 |
| -split_penalty_excess_character = |
59 |
| -split_penalty_for_added_line_split = |
60 |
| -split_penalty_import_names = |
61 |
| -split_penalty_logical_operator = |
62 |
| -use_tabs = |
| 40 | +split_all_comma_separated_values = False |
| 41 | +split_all_top_level_comma_separated_values = True |
| 42 | +split_arguments_when_comma_terminated = False |
| 43 | +split_before_arithmetic_operator = False |
| 44 | +split_before_bitwise_operator = False |
| 45 | +split_before_closing_bracket = True |
| 46 | +split_before_dict_set_generator = True |
| 47 | +split_before_dot = False |
| 48 | +split_before_expression_after_opening_paren = False |
| 49 | +split_before_first_argument = True |
| 50 | +split_before_logical_operator = True |
| 51 | +split_before_named_assigns = True |
| 52 | +split_complex_comprehension = True |
| 53 | +split_penalty_after_opening_bracket = 0 |
| 54 | +split_penalty_after_unary_operator = 100 |
| 55 | +split_penalty_arithmetic_operator = 0 |
| 56 | +split_penalty_before_if_expr = 100 |
| 57 | +split_penalty_bitwise_operator = 0 |
| 58 | +split_penalty_comprehension = 100 |
| 59 | +split_penalty_excess_character = 1 |
| 60 | +split_penalty_for_added_line_split = 10 |
| 61 | +split_penalty_import_names = 10 |
| 62 | +split_penalty_logical_operator = 100 |
0 commit comments