-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Support isort 5 #3722
Comments
This is much needed! would love to see this sooner than later. |
Excited to see #3725! One concrete reason to support Right now in our code base, we have |
I maintain both isort and pylint for Fedora, and will be happy to test any proposed fixes. |
Hey @limburgher, it's seems as this issue has been fixed in #3725 |
So it has, thank you! |
Pylint is not yet compatible with isort 5.x For more information please visit: * pylint-dev/pylint#3722 * pylint-dev/pylint#3725 Signed-off-by: Jürgen Löhel <[email protected]>
Is there a chance to add this issue to the closest milestone? this issue really important for my use case. |
For Debian, it would be extremely important to get #3725 merged and a new pylint release cut out soon: isort 5 was uploaded to our archive, so now pylint is getting removed from our users boxes because it conflicts with isort < 5 :( |
(i tried to adapt the #3725 changes to 2.5.3, but there are too many changes in between) |
@sandrotosi I did the work, and attached to the Debian RC bug! |
Any progress with this issue? I'm stuck in this situation where I need to choose between pylint and isort because of it. For now, I chose pylint over isort because it points out a lot of important bugs and really elevates my code, but I really want to use both. I'm a true believer in clean code, and I try to keep my code as clean as possible. Please help me make that happen! |
The API of isort 5 (released on 2020-07-04) is completely different. We must still support isort 4 because isort 5 dropped the compatibility with Python 3.5, which pylint still supports. Note about the `known-standard-library` option: it has been included in pylint for years. Until now, it was mapped with the option of the same name in isort. However, isort 5 has changed the meaning of this option (see https://timothycrosley.github.io/isort/docs/upgrade_guides/5.0.0/#known_standard_library). Most users of pylint want the meaning of the new `extra-standard-library` option. To avoid a breaking change in pylint, the `known-standard-library` pylint option is now mapped to `known-standard-library` in isort 4, and `extra-standard-library` in isort 5. Users that really want the _new_ meaning of `known-standard-library` in isort 4 must disable the `wrong-import-order` check in pylint and run isort manually, outside of pylint. Fix #3722.
Pylint is not yet compatible with isort 5.x For more information please visit: * pylint-dev/pylint#3722 * pylint-dev/pylint#3725 Signed-off-by: Jürgen Löhel <[email protected]>
Pylint is not yet compatible with isort 5.x For more information please visit: * pylint-dev/pylint#3722 * pylint-dev/pylint#3725 Signed-off-by: Jürgen Löhel <[email protected]>
Pylint is not yet compatible with isort 5.x For more information please visit: * pylint-dev/pylint#3722 * pylint-dev/pylint#3725 Signed-off-by: Jürgen Löhel <[email protected]>
Patch Set 4: > One other thing to note with this - these are the master > constraints, so even merging here doesn't do any good for the > failing stable branches. It would need to be backported to every > stable branch too. We can wait for the next pylint version pylint-dev/pylint#3722 Patch-set: 4
Hello,
isort 5, a new major release which is very much improved, has just been released.
So far, it is not possible to install pylint and isort 5 together.
It would be great if pylint could add support for it :)
The text was updated successfully, but these errors were encountered: