This repository has been archived by the owner on Jan 2, 2021. It is now read-only.
unicode_literals
import isn't detected if part of a multiline import statement
#207
Labels
Thanks for this helpful tool! We're excited to incorporate it into our workflow. I found one very slightly inconvenient bug when futurizing a particular file added the following
from __future__
imports:Subsequently running
isort
reduces this to:Now, errors about native string literals appear where they otherwise would not, assumedly because this check only checks for the presence of
unicode_literals
on the same line only.Happy to take a whack at a PR.
The text was updated successfully, but these errors were encountered: