-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[
isort
]: support submodules in known_(first|third)_party config opt…
…ions (#3768)
- Loading branch information
Showing
8 changed files
with
242 additions
and
90 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
...s/ruff/resources/test/fixtures/isort/separate_subpackage_first_and_third_party_imports.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import sys | ||
import baz | ||
from foo import bar, baz | ||
from foo.bar import blah, blub | ||
from foo.bar.baz import something | ||
import foo | ||
import foo.bar | ||
import foo.bar.baz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.