-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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 inserts unnecessary whitespace around print() with target_version = py27 #752
Comments
That's a bug, it's trying the non-print function grammar first. @JelleZijlstra :-) |
@ambv @JelleZijlstra |
Can we get a release out for this? Trying to use the current release on 2.x is producing ugly code with these extra spaces. |
Has this been switched to the stable branch? I am (per the vim instructions) using the latest stable version of black and I still hit this issue. I commented here: #988 It seems like the commit should be there: d6db1c1 However I am hitting this issue today (june 2020) with the latest stable black while editing python 2.7 code using |
Facing this issue with Python 3.6 |
I vote to reopen this issue. I do not think this is closed or resolved. |
Ran into this on V 19.10b0. Looks like the spaces after the |
black is adding whitespace between
print
and(
with--target-version py27
.Test file:
Result:
Operating system: OS X
Python version: 3.7.2
Black version: 19.3b0
Does also happen on master: yes
The text was updated successfully, but these errors were encountered: