-
-
Notifications
You must be signed in to change notification settings - Fork 581
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
Leading space is removed from wrong line #1575
Comments
isort isn't intended to be ran on invalid code, |
I see, and I agree. However, this is the default experience that VS Code users with Python extension are getting.
Not that I am aware of. |
I'm sorry you are experiencing this! I think, if it's okay with you, I might morph this ticket into a more general safety check around isort calls by default. While, I want to avoid a full syntax check like |
Totally - I know how to deal with this, and version control helps in the worst case. This was just a service issue to make |
Using v5.6.4:
Actual:
Expected:
or maybe
The text was updated successfully, but these errors were encountered: