ruff
512395f4 - Stabilize new strategy for classifying imports as first party (#20268)

Commit
6 days ago
Stabilize new strategy for classifying imports as first party (#20268) This stabilizes the behavior introduced in #16565 which (roughly) tries to match an import like `import a.b.c` to an actual directory path `a/b/c` in order to label it as first-party, rather than simply looking for a directory `a`. Mainly this affects the sorting of imports in the presence of namespace packages, but a few other rules are affected as well.
Author
Committer
Parents
Loading