Closed jacobsvante closed 8 years ago
I'll look into this, thanks for reporting! Sorry for the long wait, been heads down working on hug: https://github.com/timothycrosley/hug
~Timothy
No worries at all. Looks like an interesting project!
Hi @jmagnusson I think the best way to avoid this is to add isort:skip to that single import to have handled special for isort (just as it is for flake8) it's very difficult for isort to know if a comment was meant for a group or single import, and even harder for it to keep track of where to place it. It took quite a while for isort to attempt to handle comments at all (originally it would strip them all!) It's better now, but I'm not sure how to handle this particular case other then to tell isort not to mess with the import. I hope this is helpful.
Thanks!
~Timothy
As you can see below
noqa
comment has disappeared for the second import entry. How can I avoid this?(My
noqa
comment is for flake8)