Expected Line break to be put before logical operators, even when some parentheses are added #2738
Labels
F: linebreak
How should we split up lines?
F: parentheses
Too many parentheses, not enough parentheses, and so on.
R: duplicate
This issue or pull request already exists
T: style
What do we want Blackened code to look like?
Black v21.12b0
Playground link
Options
--line-length=88
--safe
Input
Output
Expected
The logical operator (
or
in this case) would be put in the front of the second line of conditionals after formatting.For example,
The text was updated successfully, but these errors were encountered: