-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Labels
C: preview styleIssues with the preview and unstable style. Add the name of the responsible feature in the title.Issues with the preview and unstable style. Add the name of the responsible feature in the title.F: stringsRelated to our handling of stringsRelated to our handling of stringsT: styleWhat do we want Blackened code to look like?What do we want Blackened code to look like?
Description
Describe the style change
Strange indentation of a long assert statement, in --preview (it works correctly in the stable branch).
Examples in the current (preview) Black style
assert (
result
== "Lorem ipsum dolor sit amet,\n"
"consectetur adipiscing elit,\n"
"sed doeiusmod tempor incididunt\n"
)Desired style
assert result == (
"Lorem ipsum dolor sit amet,\n"
"consectetur adipiscing elit,\n"
"sed doeiusmod tempor incididunt\n"
)Additional context
Similar to #3409
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C: preview styleIssues with the preview and unstable style. Add the name of the responsible feature in the title.Issues with the preview and unstable style. Add the name of the responsible feature in the title.F: stringsRelated to our handling of stringsRelated to our handling of stringsT: styleWhat do we want Blackened code to look like?What do we want Blackened code to look like?