-
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
black throws an error when formatting string #1607
Comments
What error is being thrown? Testing, Black 19.10b makes no changes: $ black --version
black, version 19.10b0
$ black 1607.py --check
All done! ✨ 🍰 ✨
1 file left unchanged. And latest $ black --version
black, version 19.10b1.dev141+g820f387
$ black 1607.py
reformatted 1607.py
All done! ✨ 🍰 ✨
1 file reformatted. Do you mean it shouldn't remove the spaces at the end of docstrings? |
I removed the whitespaces and it works ok but its enough to have one space at the end and it fails |
|
I have version Please could you update your Black version to the newest |
it works ok when I did pip -U black |
This probably got fixed by #1593. @dkuku |
Describe the bug A clear and concise description of what the bug is.
black throws an error on my comment -
To Reproduce Steps to reproduce the behavior:
thats the diff I get:
After I remove it I can fromat the file, also it should not remove whitespaces from this string
The text was updated successfully, but these errors were encountered: