-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Make C0412: Imports from package are not grouped, compatible with isort #2806
Comments
@Pierre-Sassoulas I'd be inclined to have the first solution. Also with what versions are you reproducing this bug? I can't with latest |
Isort was version $ cat isort_compatible.py
$ cat pylint_compatible.py
|
Thanks @Pierre-Sassoulas I can reproduce it as well with the latest |
This seems easier than refactoring the message store. Well a LOT easier. |
Description
C0412 and isort are incompatible when there is a mix of
from x import y
andimport x
. For example this is what isort want :But Pylint output a C0412 for the previous code and would want something like this :
Possible solutions
import x
styled import grouped together, andfrom x import y
styled import grouped together, instead of all import from a package grouped together).import x
and andfrom x import y
").The text was updated successfully, but these errors were encountered: