Repository navigation
Is it possible to force group by import style? #2201
Unanswered
instanceofmel
asked this question in
Q&A
Replies: 1 comment
|
import isort
source = """import a
from b import c
import d
from e import f
"""
print(isort.code(source, no_sections=True), end="")Output: import a
import d
from b import c
from e import fI tested your exact input with isort 9.0.2 and Python 3.12.14. The output is stable on a second pass. The corresponding project setting is |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello,
is it possible to achieve something like this?
sort to
ignoring the sections ordering?
BR
All reactions