Pylint: Support isort 5

Created on 4 Jul 2020  路  10Comments  路  Source: PyCQA/pylint

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 :)

Most helpful comment

Is there a chance to add this issue to the closest milestone? this issue really important for my use case.

All 10 comments

This is much needed! would love to see this sooner than later.

Excited to see #3725!

One concrete reason to support isort 5 is for compatibility with black. isort 4 and black conflict with each other slightly (https://github.com/timothycrosley/isort/issues/694), which makes it challenging to use black and isort 4 (or pylint, which depends on isort 4) together.

Right now in our code base, we have isort 5 and black installed, which keeps the formatting consistent, but have pylint disabled 馃槩.

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!

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 https://github.com/PyCQA/pylint/pull/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 https://github.com/PyCQA/pylint/pull/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.
I cannot use isort4 because of some bugs it causes in my CI/CD process.

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!

Was this page helpful?
0 / 5 - 0 ratings