INTERNAL ERROR: Black produced different code on the second pass of the formatter #1702
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
Describe the bug
See title. Black requested that I open an issue.
To Reproduce
Try to format the following file (
black test.py
):This is a minimized excerpt from a larger yapf-formatted file.
Expected behavior
Successful formatting, as this is valid Python code.
Environment (please complete the following information):
Does this bug also happen on master? Yes
Additional context
Black's log file:
The text was updated successfully, but these errors were encountered: