mirror of
https://github.com/astral-sh/ruff
synced 2026-01-20 21:10:48 -05:00
This commit is a first attempt at addressing issue #1003. The default `isort` behavior is `force-sort-within-sections = false`, which places `from X import Y` statements after `import X` statements. When `force-sort-within-sections = true` all imports are sorted by module name. When module names are equivalent, the `import` statement comes before the `from` statement.