@@ -131,24 +131,23 @@ each_dict_entry_on_separate_line=False
131
131
# }
132
132
force_multiline_dict=False
133
133
134
- # The regex for an i18n comment. The presence of this comment stops
134
+ # The regex (_regular expression_) for an i18n (_internationalization_) comment. The presence of this comment stops
135
135
# reformatting of that line, because the comments are required to be
136
136
# next to the string they translate.
137
137
i18n_comment=#\..*
138
138
139
- # The i18n function call names. The presence of this function stops
140
- >>>>>>> Created yapf style based on google style.
141
- # reformattting on that line, because the string it has cannot be moved
142
- # away from the i18n comment.
139
+
140
+ # The i18n (internationalization) function calls names. The presence of this function stops
141
+ # re-formatting on that line, because the string it has cannot be moved
142
+ # away from the internationalization comment.
143
143
i18n_function_call=N_, _
144
144
145
145
# Indent blank lines.
146
146
indent_blank_lines=False
147
147
148
148
# Put closing brackets on a separate line, indented, if the bracketed
149
- # expression can't fit in a single line. Applies to all kinds of brackets,
150
- # including function definitions and calls. For example:
151
- >>>>>>> Created yapf style based on google style.
149
+ # expression can't fit in a single line. This applies to all kinds of
150
+ # brackets, including function definitions and calls. For example:
152
151
#
153
152
# config = {
154
153
# 'key1': 'value1',
@@ -162,6 +161,9 @@ indent_blank_lines=False
162
161
# start_ts=now()-timedelta(days=3),
163
162
# end_ts=now(),
164
163
# ) # <--- this bracket is indented and on a separate line
164
+ #
165
+ # Exercism strongly diverges from this Google-recommended pattern, and favors
166
+ # closing brackets on the same line as the end of the expression.
165
167
indent_closing_brackets=False
166
168
167
169
# Indent the dictionary value if it cannot fit on the same line as the
0 commit comments