Strange formatting
- Dominant language
- Python
- Stars
- 14k
- Forks
- 904
- PR merge metrics
- No merged PRs in 30d
Description
Snippet
```
reply_channel.send({
"text":
"""{"stream": "cp", "payload": {"cancel_channel":{cancel_channel}}}"""
.format(cancel_channel)
}, immediately=True)
```
becomes this one (note the last line):
```
reply_channel.send({
"text":
"""{"stream": "cp", "payload": {"cancel_channel":{cancel_channel}}}""".format(cancel_channel)
},
immediately=True)
```
yapf version
```
> yapf --version
yapf 0.16.1
```
.style.yapf:
```
[style]
align_closing_bracket_with_visual_indent=True
allow_multiline_lambdas=False
blank_line_before_nested_class_or_def=False
coalesce_brackets=True
column_limit=100
continuation_indent_width=2
dedent_closing_brackets=True
i18n_comment=
i18n_function_call=
indent_dictionary_value=True
indent_width=2
join_multiple_lines=False
spaces_around_default_or_named_assign=False
spaces_around_power_operator=False
spaces_before_comment=2
space_between_ending_comma_and_closing_bracket=True
split_arguments_when_comma_terminated=False
split_before_bitwise_operator=False
split_before_first_argument=False
split_before_logical_operator=False
split_before_named_assigns=True
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=2600
split_penalty_for_added_line_split=30
split_penalty_import_names=0
split_penalty_logical_operator=300
use_tabs=False
```
Contributor guide
Assessment
This issue has not been assessed yet.