-
-
Notifications
You must be signed in to change notification settings - Fork 612
Open
Description
Hello, and thanks for a very useful package!
If I set --force-alphabetical-sort then an extra line is inserted between import and from even if --lines-between-types=0
Start with this test file:
import one
import two
from three import four
from five import six
HELLO = 'world'
Running isort --lines-between-types=0 test_isort.py gets:
import one
import two
from five import six
from three import four
HELLO = 'world'
This has no empty line between import and from as expected.
isort --force-alphabetical-sort --lines-between-types=0 test_isort.py gives:
from five import six
from three import four
import one
import two
HELLO = 'world'
which you will note adds an empty line!
Thanks and have an excellent weekend.
Metadata
Metadata
Assignees
Labels
No labels