← Back to issue list

style: ty 0.0.87, ruff 0.17.0

View original Github issue

Metadata

Project
snapcraft
Number
#6498
Type
pull request
State
merged
Author
mr-cal
Labels
PR: Squash
Created
Updated
Closed

Current evaluation

Merged PR #6498, cherry-picking style fixes from #6493 onto hotfix/9.2 to update ty to 0.0.87 and ruff to 0.17.0.

Resolution: closed resolved

Reason: The pull request was merged, applying dependency and linting updates (ty 0.0.87, ruff 0.17.0) to the hotfix/9.2 branch as a cherry-pick from #6493.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Cherry-picks the fixes from #6493 onto `hotfix/9.2`. --- - [x] I've followed the [contribution guidelines](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md). - [x] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/). - [x] I've successfully run `make lint && make test`. - [ ] I've added or updated any relevant documentation. - [ ] In documents I changed, I [added a meta description](https://canonical-starflow.readthedocs-hosted.com/how-to/add-a-page-meta-description/) if one was missing. - [ ] I've updated the relevant release notes.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b — closed resolved Merged PR #6498, cherry-picking style fixes from #6493 onto hotfix/9.2 to update ty to 0.0.87 and ruff to 0.17.0.

Update history

Date Change
merged
updated
updated
updated
updated
updated
updated
created

Related work

  • Related To: snapcraft#6493 (confidence 100%)

    PR #6498 explicitly cherry-picks the fixes from this PR onto the hotfix branch.

Related issues

Issue Project State Summary Similarity
#6493 style: ty 0.0.87, ruff 0.17.0 snapcraft merged Merged PR updating ty to 0.0.87 and ruff to 0.17.0, with 7 AI-assisted commits fixing linting errors across 12 files.
83%
#6280 style: ty 0.0.44 snapcraft merged Merged PR #6280 in commit 8b45efc80, applying ty 0.0.44 style updates after two approvals; unrelated CI failures did not block the merge.
79%
#5343 style: ruff 0.11 fixes snapcraft merged Merged Ruff 0.10/0.11 style fixes in #5343, changing two lines in one file, via merge commit ce88542d5.
77%
#485 style: ty 0.0.79 craft-cli closed Merged into main: a +2/-2 line one-file style fix for the new error reported by the ty 0.0.79 type checker, by maintainer mr-cal; review approved, all 25 CI checks green. Ty was later bumped to 0.0.82 in craft-parts#1727.
76%
#1727 style: ty 0.0.82 craft-parts closed PR #1727 updated style for ty 0.0.82 and received two approvals, but was closed unmerged after three architecture-specific Java CI jobs failed.
74%
#5574 style: ruff 0.12 snapcraft merged Merged Ruff 0.12 compatibility and style updates in commit 94a594fd3 after approval by two reviewers.
74%
#2074 style: update to ruff 0.9.0 formatting charmcraft merged Merged PR #2074 in commit af377cd8, updating formatting for Ruff 0.9.0 to address new lint failures.
73%
#1126 style: fix ty errors craft-application merged Merged PR #1126 (commit 9f5e0e76): small +8/-10 style fix taking advantage of ty's new Pydantic support, clearing remaining type-checker errors.
73%
#165 style: fix linting for ruff 0.12 imagecraft merged Merged #165, incorporating canonical/starbase#408, with a four-file Ruff 0.12 compatibility style update (+7/-7).
72%
#1396 style: fix findings from ruff 0.17, shfmt, and tombi rockcraft merged Merged PR fixing linting and style findings from ruff 0.17, shfmt, and tombi, plus adding ty diagnostic suppressions for intentional pydantic field narrowing.
72%