Black produced different code on the second pass of the formatter. #2022
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
Running Black on the given snippet produces the second-pass error.
To Reproduce Steps to reproduce the behavior:
Open this Black playground link.
Alternatively, paste this code into the Black playground:
Expected behavior A clear and concise description of what you expected to happen:
Successful formatting by Black.
Actual behavior Second-pass error fires:
Environment (please complete the following information):
Black playground.
Does this bug also happen on master? To answer this, you have two options:
Yes
Additional Context
I've tried to make this a fairly minimal case: the bug doesn't repro if any of the
xNNNN
tokens are shortened or any of the tokens are removed.Thanks for reviewing! :)
The text was updated successfully, but these errors were encountered: