Difference with isort black profile - ruff isort groups "from x import a, z" even if there's a "from x import b as c" #9617
notatallshaw-gts
started this conversation in
General
Replies: 1 comment 1 reply
-
I believe this was intentional, we avoid breaking up the non- |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am looking at moving from isort to ruff's isort implementation. I appreciate it's an approximation but I am trying to understand if this change is intentional or not.
isort with profile=black will sort like this:
Where as the ruff isort approximation will sort like this:
Is this intentional? And is there a related setting? (I did look and try different things, but this didn't change). Has there been other discussions on this? (Again I did look).
FYI, I don't feel like I prefer one behavior over the other, but I would like to make a relatively minimal diff switching from isort to ruff.
Beta Was this translation helpful? Give feedback.
All reactions