Skip to content

Format on type adds unnecessary spaces #1790

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

Closed
DonJayamanne opened this issue May 29, 2018 · 0 comments · Fixed by #1798
Closed

Format on type adds unnecessary spaces #1790

DonJayamanne opened this issue May 29, 2018 · 0 comments · Fixed by #1798
Assignees
Labels
area-formatting bug Issue identified by VS Code Team member as probable bug
Milestone

Comments

@DonJayamanne
Copy link

x = 0
y = 1
if x() == -y:
    print("THAT")

turns into:

x = 0
y = 1
if x() == - y:
    print("THAT")

@brettcannon please confirm this is a bug. Based on my knowledge of Pep8 this is wrong.

@DonJayamanne DonJayamanne added bug Issue identified by VS Code Team member as probable bug needs PR area-formatting labels May 29, 2018
@MikhailArkhipov MikhailArkhipov self-assigned this May 29, 2018
@MikhailArkhipov MikhailArkhipov added this to the May 2018 milestone May 30, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Jul 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-formatting bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants