Unstable formatting with long conditional expression #1804
Labels
C: unstable formatting
Formatting changed on the second pass
R: duplicate
This issue or pull request already exists
T: bug
Something isn't working
To Reproduce
Run Black on this code:
The code itself isn't fantastic, for sure, but it still breaks Black, and that ain't great.
Reformatting fails with
error: cannot format testcase.py: INTERNAL ERROR: Black produced different code on the second pass of the formatter.
.Environment (please complete the following information):
master
Does this bug also happen on master?
Yes, running this on black.now.sh also fails.
The text was updated successfully, but these errors were encountered: