← Back to issue list

build(deps): update dependency ruff to ~=0.7.0

View original Github issue

Metadata

Project
craft-grammar
Number
#63
Type
pull request
State
merged
Author
renovate[bot]
Labels
—
Created
Updated
Closed

Current evaluation

Renovate dependency bump PR canonical/craft-grammar#63 merged into main, updating the ruff pre-commit hook constraint from ~=0.6.1 to ~=0.7.0 in commit f438853.

Resolution: closed resolved

Reason: The PR was merged into main with one approving review and no unresolved comments; commit f438853 ('build(deps): update dependency ruff to ~=0.7.0 (#63)') applies the one-line change to the ruff pre-commit hook version constraint.

Evaluated by: mr-cal-bot

No scores available.

Issue body

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [ruff](https://docs.astral.sh/ruff) ([source](https://redirect.github.com/astral-sh/ruff), [changelog](https://redirect.github.com/astral-sh/ruff/blob/main/CHANGELOG.md)) | `~=0.6.1` -> `~=0.7.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/ruff/0.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/ruff/0.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/ruff/0.6.9/0.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/ruff/0.6.9/0.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>astral-sh/ruff (ruff)</summary> ### [`v0.7.0`](https://redirect.github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#070) [Compare Source](https://redirect.github.com/astral-sh/ruff/compare/0.6.9...0.7.0) Check out the [blog post](https://astral.sh/blog/ruff-v0.7.0) for a migration guide and overview of the changes! ##### Breaking changes - The pytest rules `PT001` and `PT023` now default to omitting the decorator parentheses when there are no arguments ([#&#8203;12838](https://redirect.github.com/astral-sh/ruff/pull/12838), [#&#8203;13292](https://redirect.github.com/astral-sh/ruff/pull/13292)). This was a change that we attempted to make in Ruff v0.6.0, but only partially made due to an error on our part. See the [blog post](https://astral.sh/blog/ruff-v0.7.0) for more details. - The `useless-try-except` rule (in our `tryceratops` category) has been recoded from `TRY302` to `TRY203` ([#&#8203;13502](https://redirect.github.com/astral-sh/ruff/pull/13502)). This ensures Ruff's code is consistent with the same rule in the [`tryceratops`](https://redirect.github.com/guilatrova/tryceratops) linter. - The `lint.allow-unused-imports` setting has been removed ([#&#8203;13677](https://redirect.github.com/astral-sh/ruff/pull/13677)). Use [`lint.pyflakes.allow-unused-imports`](https://docs.astral.sh/ruff/settings/#lint_pyflakes_allowed-unused-imports) instead. ##### Formatter preview style - Normalize implicit concatenated f-string quotes per part ([#&#8203;13539](https://redirect.github.com/astral-sh/ruff/pull/13539)) ##### Preview linter features - \[`refurb`] implement `hardcoded-string-charset` (FURB156) ([#&#8203;13530](https://redirect.github.com/astral-sh/ruff/pull/13530)) - \[`refurb`] Count codepoints not bytes for `slice-to-remove-prefix-or-suffix (FURB188)` ([#&#8203;13631](https://redirect.github.com/astral-sh/ruff/pull/13631)) ##### Rule changes - \[`pylint`] Mark `PLE1141` fix as unsafe ([#&#8203;13629](https://redirect.github.com/astral-sh/ruff/pull/13629)) - \[`flake8-async`] Consider async generators to be "checkpoints" for `cancel-scope-no-checkpoint` (`ASYNC100`) ([#&#8203;13639](https://redirect.github.com/astral-sh/ruff/pull/13639)) - \[`flake8-bugbear`] Do not suggest setting parameter `strict=` to `False` in `B905` diagnostic message ([#&#8203;13656](https://redirect.github.com/astral-sh/ruff/pull/13656)) - \[`flake8-todos`] Only flag the word "TODO", not words starting with "todo" (`TD006`) ([#&#8203;13640](https://redirect.github.com/astral-sh/ruff/pull/13640)) - \[`pycodestyle`] Fix whitespace-related false positives and false negatives inside type-parameter lists (`E231`, `E251`) ([#&#8203;13704](https://redirect.github.com/astral-sh/ruff/pull/13704)) - \[`flake8-simplify`] Stabilize preview behavior for `SIM115` so that the rule can detect files being opened from a wider range of standard-library functions ([#&#8203;12959](https://redirect.github.com/astral-sh/ruff/pull/12959)). ##### CLI - Add explanation of fixable in `--statistics` command ([#&#8203;13774](https://redirect.github.com/astral-sh/ruff/pull/13774)) ##### Bug fixes - \[`pyflakes`] Allow `ipytest` cell magic (`F401`) ([#&#8203;13745](https://redirect.github.com/astral-sh/ruff/pull/13745)) - \[`flake8-use-pathlib`] Fix `PTH123` false positive when `open` is passed a file descriptor ([#&#8203;13616](https://redirect.github.com/astral-sh/ruff/pull/13616)) - \[`flake8-bandit`] Detect patterns from multi line SQL statements (`S608`) ([#&#8203;13574](https://redirect.github.com/astral-sh/ruff/pull/13574)) - \[`flake8-pyi`] - Fix dropped expressions in `PYI030` autofix ([#&#8203;13727](https://redirect.github.com/astral-sh/ruff/pull/13727)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" in timezone Etc/UTC, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/canonical/craft-grammar). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMjAuMSIsInVwZGF0ZWRJblZlciI6IjM4LjEyMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Renovate dependency bump PR canonical/craft-grammar#63 merged into main, updating the ruff pre-commit hook constraint from ~=0.6.1 to ~=0.7.0 in commit f438853.
stealth/space-bunny-alpha — closed resolved Renovate PR canonical/craft-grammar#63 merged into main, changing Ruff's pre-commit constraint from ~=0.6.1 to ~=0.7.0 in commit f438853.
qwen/qwen3.6-35b-a3b — — Merged automated dependency update upgrading ruff from 0.6.1 to 0.7.0. Approved by one reviewer, passed CI checks, and successfully integrated into the main branch.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/craft-grammar#85 (confidence 55%)

    Later Renovate bump of ruff to ~=0.11.2, showing continued upgrade of the same dependency.

Related issues

Issue Project State Summary Similarity
#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.
86%
#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.
84%
#71 build(deps): update dependency ruff to ~=0.9.3 - autoclosed craft-grammar closed Renovate PR to bump ruff from ~=0.7.0 to ~=0.9.3 was closed unmerged (autoclosed, 0 comments). The dev dependency was later updated to ~=0.11.2 by merged PR #85 (commit 93ac0ac).
83%
#148 build(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.14.1 (main) - autoclosed craft-grammar closed Closed unmerged; the v0.14.1 hook update was superseded by canonical/craft-grammar#150, merged as e8ecc65 to update Ruff pre-commit directly to v0.14.2.
81%
#201 build(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.15.22 (main) craft-grammar merged Renovate PR canonical/craft-grammar#201 merged (commit 7a4dedc), bumping the astral-sh/ruff-pre-commit pre-commit hook from v0.15.20 to v0.15.22 (one-line .pre-commit-config.yaml change).
81%
#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.
81%
#1788 build(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.17.2 (main) craft-parts merged Merged dependency update for astral-sh/ruff-pre-commit from v0.17.1 to v0.17.2 in craft-parts via PR #1788.
80%
#170 build(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.11.13 (main) craft-archives closed Renovate PR #170 (ruff-pre-commit v0.11.11→v0.11.13) was closed unmerged by mr-cal on 2025-06-11 so Renovate could retry; replacement PR canonical/craft-archives#171 carried the same bump and merged as commit ba66c12.
80%
#43 build(deps): update dependency ruff to ~=0.6.1 - autoclosed craft-grammar closed Autoclosed unmerged after #41 already applied the Ruff 0.6.1 update in commit 2f07089.
80%
#288 build(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.8.1 starbase merged Renovate dependency PR #288 bumping the ruff-pre-commit hook from v0.7.4 to v0.8.1 in .pre-commit-config.yaml was approved and merged into main via commit 10c7eb4 (+1/-1 line).
80%