Skip to content
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

Unimport removes comment #134

Closed
MarcoGorelli opened this issue Oct 4, 2020 · 2 comments
Closed

Unimport removes comment #134

MarcoGorelli opened this issue Oct 4, 2020 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@MarcoGorelli
Copy link

MarcoGorelli commented Oct 4, 2020

If I make a file mcve.py with the content

# comment
import isort

# %%
import pandas

and then run

unimport mcve.py --remove

then the file becomes:

# comment

I was expecting it to become

# comment

# %%
@hakancelikdev hakancelikdev added the duplicate This issue or pull request already exists label Oct 4, 2020
@hakancelikdev
Copy link
Owner

This issue already exists here #100

@MarcoGorelli
Copy link
Author

thanks, closing then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants