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

Comment on import line mangles file #491

Closed
scarpent opened this issue Jan 8, 2017 · 1 comment
Closed

Comment on import line mangles file #491

scarpent opened this issue Jan 8, 2017 · 1 comment
Labels
bug Something isn't working

Comments

@scarpent
Copy link

scarpent commented Jan 8, 2017

Before isort:

import os  # ([

print('hi')

After isort:

import os  # ([

import 'hi'
import print

My original comment had a code snippet in it. This is a distilled form that still triggers the issue.

@timothycrosley timothycrosley added the bug Something isn't working label May 10, 2017
timothycrosley added a commit that referenced this issue May 23, 2017
@timothycrosley
Copy link
Member

Thanks for reporting this issue! It is now fixed in develop and will be in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants