tools: import sort with isort
Metadata
Current evaluation
Merged as commit 9abfb5071: sorted imports with isort in snapcraft's tools/ files (+2/-5, 5 files), part of the repo-wide isort rollout started in #3344 alongside #3351, #3352, #3354 and #3383.
Resolution: closed resolved
Reason: PR #3353 was merged into snapcraft as commit 9abfb5071 with one approving review and no unresolved comments, applying isort ordering to five tools files. It is one of a series of pure import-ordering PRs that completed the isort setup introduced in #3344.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged as commit 9abfb5071: sorted imports with isort in snapcraft's tools/ files (+2/-5, 5 files), part of the repo-wide isort rollout started in #3344 alongside #3351, #3352, #3354 and #3383. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #3353 via commit 9abfb5071, standardizing import order with isort across five tools files (+2/-5 lines). | |
| qwen/qwen3.6-35b-a3b | — | — | Merged pull request implementing import sorting with isort across five files. Approved by one reviewer with passing CI checks. The change standardizes Python import order, modifying two lines added and five removed. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged isort configuration to automatically sort Python imports. The change was integrated by a maintainer without comments or additional review steps. |
Update history
No update history recorded yet.
Related work
-
Related To:
snapcraft#3344
(confidence 90%)
PR #3344 (commit 56c471f29) added isort with black-compatible configuration, enabling this series
-
Related To:
snapcraft#3351
(confidence 80%)
storeapi import sorting commit d79d79bd2, same isort rollout batch
-
Related To:
snapcraft#3352
(confidence 80%)
tests import sorting commit 195460f76, same isort rollout batch
-
Related To:
snapcraft#3354
(confidence 80%)
cli import sorting commit 59f915c5b, same isort rollout batch
-
Related To:
snapcraft#3383
(confidence 70%)
Commit d2f318468 sorted remaining Python files with isort, finishing the effort started here
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #3354 cli: import sort with isort | snapcraft | merged | Merged #3354 (59f915c5b): isort applied to the CLI package, reordering imports in 11 files (+22/-19). Part of the isort rollout started by #3344 and continued in #3351, #3352, #3353 and #3383. | |
| #3383 isort: sort remaining python files | snapcraft | merged | Merged PR #3383 as d2f318468, sorting imports across 90 Python files with isort while preserving special ordering in snapcraft/__init__.py. | |
| #3352 tests: import sort with isort | snapcraft | merged | PR #3352 merged as commit 195460f76, applying isort to test imports across 199 files (+313/-276), part of the isort rollout after config landed in #3344. isort was later replaced by ruff in #4012. | |
| #3351 storeapi: import sort with isort | snapcraft | merged | Merged as commit d79d79bd2: applied isort to storeapi imports across 16 files (+27/-49), adding isort:skip directives in __init__.py to preserve ordering-sensitive imports. Part of an isort rollout started by #3344. | |
| #2819 isort: automatic formatting/sorting of imports | snapcraft | closed | Closed unmerged; author agreed to wait for a Black-compatible isort release and drop tools/format-code.sh. Superseded by merged PR #3344 (56c471f29), with #3351–#3354 and #3383 re-sorting imports. |