If statements with parallel conditions should be kept parallel #1150
Labels
F: linebreak
How should we split up lines?
F: symmetry
Fixing this would require Black to understand symmetry.
R: duplicate
This issue or pull request already exists
T: style
What do we want Blackened code to look like?
Describe the style change A clear and concise description of how the style can be
improved.
If statements with multiple parallel conditions should be kept
parallel if they don't fit on one line. "Parallel conditions" are
conditions that only have a few characters that are different, as
bellow.
Examples in the current Black style Think of some short code snippets that show
how the current Black style is not great:
Desired style How do you think Black should format the above snippets:
Additional context Add any other context about the problem here.
Please feel free to ask any clarifying questions, or critique the desired style above.
The text was updated successfully, but these errors were encountered: