-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
INTERNAL ERROR: Black produced code that is not equivalent to the source. #1672
Comments
Having a similar problem where Black 20.8b1, despite -S, strips \t from docstring, ending up with a different result. |
While inspecting recent CI failure due to black formatting on https://github.com/ultrabug/py3status I got the same error from black.
With log file as attached: Hope this helps, thanks! |
we will update back when psf/black#1672 is fixed
@markgajdosik and @ultrabug, I think your issues are duplicates of #1635, whereas OP's looks like a unicode character being removed. |
I am getting the same error. Log Attached: |
This no longer crashes. |
Describe the bug
A docstring is contained U+3000 ideographic space before new line code.
To Reproduce Steps to reproduce the behavior:
Environment (please complete the following information):
Does this bug also happen on master?
YES(20.8b2.dev12+g6b935a3)
The text was updated successfully, but these errors were encountered: