← Back to issue list

pyproject: add isort with black-compatible configuration

View original Github issue

Metadata

Project
snapcraft
Number
#3344
Type
pull request
State
merged
Author
cjp256
Labels
—
Created
Updated
Closed

Current evaluation

Merged #3344 as 56c471f29, adding Black-compatible isort configuration; follow-ups #3351–#3354 and #3383 applied import sorting.

Resolution: closed resolved

Reason: PR #3344 was merged as commit 56c471f29, completing the requested configuration change. Follow-up PRs #3351–#3354 and #3383 subsequently applied isort across the codebase.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Signed-off-by: Chris Patterson <chris.patterson@canonical.com> - [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged #3344 as 56c471f29, adding Black-compatible isort configuration; follow-ups #3351–#3354 and #3383 applied import sorting.
stealth/space-bunny-alpha — closed resolved Merged in #3344 as 56c471f29, adding isort with Black-compatible configuration; follow-ups #3351–#3354 and #3383 applied import sorting.
stealth/space-bunny-alpha — closed resolved Merged PR #3344 as 56c471f29, adding Black-compatible isort configuration; follow-ups #3351–#3354 and #3383 applied import sorting.
stealth/space-bunny-alpha — closed resolved Merged #3344 (commit 56c471f29) adding Black-compatible isort config to pyproject.toml; follow-ups #3351-#3354 and #3383 applied the import sorting, later migrated to ruff (#4012).
stealth/space-bunny-alpha — closed resolved Merged as 56c471f29: added isort with Black-compatible config (profile=black) to pyproject.toml and requirements. Enabled the isort toolchain; follow-ups #3351-#3354 and #3383 applied the import sorting.
stealth/space-bunny-alpha — closed resolved Merged #3344 (56c471f29), adding Black-compatible isort configuration; follow-ups #3351–#3354 and #3383 applied the import sorting.
qwen/qwen3.6-35b-a3b — — Merged a pull request adding black-compatible isort configuration to pyproject.toml. Approved by a reviewer, passed CI checks, and modified two files. A maintainer noted the configuration would be applied in a follow-up PR.
qwen3.6-35b-a3b-mtp-q6 — — Merged. Adds isort with black-compatible configuration to pyproject.toml. A follow-up PR will apply the formatting changes.

Update history

No update history recorded yet.

Related work

Related issues

Issue Project State Summary Similarity
#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.
73%