← Back to issue list

build(deps): use the ruff snap

View original Github issue

Metadata

Project
snapcraft
Number
#4939
Type
pull request
State
merged
Author
mr-cal
Labels
—
Created
Updated
Closed

Current evaluation

Merged in snapcraft#4939 via commit 8f2afd58a, formalizing Ruff snap use, adopting ruff check, and updating compatibility and documentation.

Resolution: closed resolved

Reason: PR #4939 was approved and merged as commit 8f2afd58a, switching linting to the Ruff snap and adding Ruff 0.5.4 compatibility updates.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `tox run -m lint`? - [x] Have you successfully run `tox run -e test-py310`? (supported versions: `py39`, `py310`, `py311`, `py312`) ----- `ruff` was already used as a snap for CI but this PR formalizes using the snap. - use the new `ruff check` call - compatibility updates for ruff 0.5.4 - documentation changes

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged in snapcraft#4939 via commit 8f2afd58a, formalizing Ruff snap use, adopting ruff check, and updating compatibility and documentation.
stealth/space-bunny-alpha — closed resolved Merged as snapcraft#4939 (commit 8f2afd58a): linting now uses the Ruff snap via `ruff check`, with Ruff 0.5.4 compatibility fixes and docs updates in tox.ini/common.mk.
stealth/space-bunny-alpha — closed resolved Merged in snapcraft#4939 (8f2afd58a), switching linting to the Ruff snap and ruff check, with Ruff 0.5.4 compatibility and documentation updates.
qwen/qwen3.6-35b-a3b — — Merged updates to the CI workflow to use the ruff snap. Adds the ruff check command, updates compatibility for ruff 0.5.4, and includes documentation changes. Approved and passed all checks.
qwen3.6-35b-a3b-mtp-q6 — — Merged by maintainer mr-cal. Formalized using the ruff snap for CI, updated to the ruff check command, added compatibility for ruff 0.5.4, and updated related documentation.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#207 build(deps): use ruff from snap craft-store merged Merged PR #207, commit 27bc107, updating four build files to install and use Ruff from its Snap.
88%
#597 build(deps): use the ruff snap craft-providers merged Merged PR #597 as commit c5f35a0, replacing a frozen pip-installed Ruff version with the latest Ruff snap for development tooling.
86%
#206 build: use ruff from snap craft-application merged Merged as commit 9f8fcc62; four build files were updated to invoke Ruff from its Snap.
85%
#4602 build(lint): use ruff from snap snapcraft merged Merged PR #4602 (8a9a5c212) replaced pyright-based CI linting with Ruff supplied by its snap for more predictable tool upgrades.
77%
#1387 build: use ruff snap charmcraft merged Merged PR #1387 in commit 4fae04dc, switching Charmcraft CI and tox from Ruff's Python package to the Ruff Snap as a canary.
74%
#4417 chore(deps): update ruff to 0.1.1 and fix lint issues snapcraft merged Ruff 0.1.1 dependency bump plus lint fixes merged to snapcraft main as commit 4b1cff546 (PR #4417, +66/-36 across 19 files). A later follow-up, style: ruff 0.16 (#582), superseded the pin.
73%
#41 build(deps): update to ruff 0.6.1 craft-grammar merged Renovate-style dependency bump PR updating the Ruff build dependency to 0.6.1 across three files (+4/-4). Approved by 2 reviewers with no unresolved comments and merged into main as commit 2f07089.
73%
#179 build(deps): update ruff to 0.4.4 craft-store merged Merged canonical/craft-store#179 via c7bc755, updating Ruff to 0.4.4 across three files.
72%
#204 chore: use ruff snap starbase merged Merged PR #204 in commit 09b91ba, switching Ruff usage in four files to the Ruff snap.
72%
#85 build(deps): update dependency ruff to ~=0.11.2 craft-grammar merged Merged PR #85 as commit 93ac0ac, updating Ruff from ~=0.7.0 to ~=0.11.2.
72%