← Back to issue list

chore(deps): update dependency lint/ruff to v0.1.15

View original Github issue

Metadata

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

Current evaluation

Renovate PR merged (commit e68b0c7), bumping the ruff lint hook from 0.1.14 to 0.1.15 in .pre-commit-config.yaml; approved by two reviewers with no CI failures.

Resolution: closed resolved

Reason: The pull request itself was merged into main via commit e68b0c7, a one-line .pre-commit-config.yaml change updating ruff to v0.1.15, with 2 approvals and no failing CI checks.

Evaluated by: mr-cal-bot

No scores available.

Issue body

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [lint/ruff](https://docs.astral.sh/ruff) ([source](https://togithub.com/astral-sh/ruff), [changelog](https://togithub.com/astral-sh/ruff/blob/main/CHANGELOG.md)) | `==0.1.14` -> `==0.1.15` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/lint%2fruff/0.1.15?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/lint%2fruff/0.1.15?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/lint%2fruff/0.1.14/0.1.15?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/lint%2fruff/0.1.14/0.1.15?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>astral-sh/ruff (lint/ruff)</summary> ### [`v0.1.15`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#0115) [Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.1.14...v0.1.15) ##### Preview features - Error when `NURSERY` selector is used with `--preview` ([#&#8203;9682](https://togithub.com/astral-sh/ruff/pull/9682)) - Preserve indentation around multiline strings in formatter ([#&#8203;9637](https://togithub.com/astral-sh/ruff/pull/9637)) - \[`flake8-return`] Add fixes for all rules (`RET505`, `RET506`, `RET507`, `RET508`) ([#&#8203;9595](https://togithub.com/astral-sh/ruff/pull/9595)) - \[`flake8-simplify`] Add fix for `if-with-same-arms` (`SIM114`) ([#&#8203;9591](https://togithub.com/astral-sh/ruff/pull/9591)) - \[`pycodestyle`] Add fix for `multiple-imports-on-one-line` (`E401`) ([#&#8203;9518](https://togithub.com/astral-sh/ruff/pull/9518)) - \[`pylint`] Add fix for `collapsible-else-if` (`PLR5501`) ([#&#8203;9594](https://togithub.com/astral-sh/ruff/pull/9594)) - \[`pylint`] Add fix for `useless-else-on-loop` (`PLW0120`) ([#&#8203;9590](https://togithub.com/astral-sh/ruff/pull/9590)) - \[`pylint`] Implement `assigning-non-slot` (`E0237`) ([#&#8203;9623](https://togithub.com/astral-sh/ruff/pull/9623)) - \[`pylint`] Implement `potential-index-error` (`PLE0643`) ([#&#8203;9545](https://togithub.com/astral-sh/ruff/pull/9545)) - \[`pylint`] Implement `too-many-nested-blocks` (`PLR1702`) ([#&#8203;9172](https://togithub.com/astral-sh/ruff/pull/9172)) - \[`ruff`] Add rule to sort `__slots__` and `__match_args__` ([#&#8203;9564](https://togithub.com/astral-sh/ruff/pull/9564)) - \[`ruff`] Detect unnecessary `dict` comprehensions for iterables (`RUF025`) ([#&#8203;9613](https://togithub.com/astral-sh/ruff/pull/9613)) - \[`ruff`] Guard against use of `default_factory` as a keyword argument (`RUF026`) ([#&#8203;9651](https://togithub.com/astral-sh/ruff/pull/9651)) - \[`ruff`] Implement `mutable-fromkeys-value` (`RUF024`) ([#&#8203;9597](https://togithub.com/astral-sh/ruff/pull/9597)) ##### CLI - Enable auto-wrapping of `--help` output ([#&#8203;9633](https://togithub.com/astral-sh/ruff/pull/9633)) ##### Bug fixes - Avoid rendering display-only rules as fixable ([#&#8203;9649](https://togithub.com/astral-sh/ruff/pull/9649)) - Detect automagic-like assignments in notebooks ([#&#8203;9653](https://togithub.com/astral-sh/ruff/pull/9653)) - Generate custom JSON schema for dynamic setting ([#&#8203;9632](https://togithub.com/astral-sh/ruff/pull/9632)) - \[`flake8-no-pep420`] Include global `--config` when determining namespace packages ([#&#8203;9603](https://togithub.com/astral-sh/ruff/pull/9603)) - \[`flake8-pie`] Omit bound tuples passed to `.startswith` or `.endswith` ([#&#8203;9661](https://togithub.com/astral-sh/ruff/pull/9661)) - \[`flake8-return`] Avoid panic when fixing inlined else blocks ([#&#8203;9657](https://togithub.com/astral-sh/ruff/pull/9657)) - \[`flake8-return`] Consider exception suppression in unnecessary assignment ([#&#8203;9673](https://togithub.com/astral-sh/ruff/pull/9673)) - \[`flake8-return`] Take `NoReturn` annotation into account when analyzing implicit returns ([#&#8203;9636](https://togithub.com/astral-sh/ruff/pull/9636)) - \[`flake8-simplify`] Support inverted returns in `needless-bool` (`SIM103`) ([#&#8203;9619](https://togithub.com/astral-sh/ruff/pull/9619)) - \[`flake8-type-checking`] Add Pydantic's `BaseConfig` to default-copy list ([#&#8203;9650](https://togithub.com/astral-sh/ruff/pull/9650)) - \[`flake8-type-checking`] Avoid marking `InitVar` as a typing-only annotation ([#&#8203;9688](https://togithub.com/astral-sh/ruff/pull/9688)) - \[`pycodestyle`] Allow `dtype` comparisons in `type-comparison` ([#&#8203;9676](https://togithub.com/astral-sh/ruff/pull/9676)) - \[`pydocstyle`] Re-implement `last-line-after-section` (`D413`) ([#&#8203;9654](https://togithub.com/astral-sh/ruff/pull/9654)) ##### Documentation - \[`flake8-pytest-style`] Add fix safety documentation for `duplicate-parameterize-test-cases` ([#&#8203;9678](https://togithub.com/astral-sh/ruff/pull/9678)) - \[`pylint`] Document `literal-membership` fix safety conditions ([#&#8203;9677](https://togithub.com/astral-sh/ruff/pull/9677)) - \[`isort`] Fix reference to `isort` rule code ([#&#8203;9598](https://togithub.com/astral-sh/ruff/pull/9598)) ##### Other changes </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" in timezone Etc/UTC, Automerge - "every weekend" in timezone Etc/UTC. 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, 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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/canonical/craft-cli). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Renovate PR merged (commit e68b0c7), bumping the ruff lint hook from 0.1.14 to 0.1.15 in .pre-commit-config.yaml; approved by two reviewers with no CI failures.
stealth/space-bunny-alpha — closed resolved Merged canonical/craft-cli#230 via commit e68b0c7, updating lint/ruff from 0.1.14 to 0.1.15 after two approvals and no reported CI failures.
qwen/qwen3.6-35b-a3b — — Merged automated dependency update upgrading lint/ruff from v0.1.14 to v0.1.15. Approved by two reviewers, passed CI checks, and maintained 94.81% test coverage across a single file change.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/craft-cli#236 (confidence 55%)

    Follow-up commit ddc3fd5 'build: update ruff and settings changes (#236)' adjusts ruff settings shortly after this bump

  • Related To: canonical/craft-cli#246 (confidence 45%)

    Later renovate bump of lint/ruff to ~=0.3.5 (6701822), showing progression of the same dependency

Related issues

Issue Project State Summary Similarity
#119 chore(deps): update dependency lint/ruff to v0.0.284 starbase merged Renovate dependency bump PR #119 (lint/ruff 0.0.272 -> 0.0.284 in the ruff pre-commit hook) was approved and merged into main as commit be3ae62; +1/-1 line, no source changes.
96%
#217 chore(deps): update dependency lint/ruff to v0.1.8 craft-cli merged Renovate PR bumping lint/ruff 0.1.7 to 0.1.8 was approved by two reviewers and merged into main as commit 61f7791 (Dec 2023); later superseded by ruff 0.1.14 (#223) and 0.1.15 (#230).
96%
#578 chore(deps): update dependency lint/ruff to v0.4.10 craft-providers merged Renovate PR merged: bumped the lint/ruff dependency from 0.4.8 to 0.4.10 (commit 117db56) after reviewer approval; a single-line version change.
95%
#115 chore(deps): update dependency lint/ruff to v0.1.1 craft-store merged Renovate PR #115 was merged, bumping lint/ruff from 0.1.0 to 0.1.1 in commit 1f36381.
95%
#129 chore(deps): update dependency lint/ruff to v0.1.2 craft-application merged Merged PR #129 via commit 7704e5f1, updating lint/ruff from v0.1.1 to v0.1.2 after approval from two reviewers.
95%
#214 chore(deps): update dependency lint/ruff to v0.1.7 craft-cli merged Merged PR #214 upgraded lint/ruff from 0.1.6 to 0.1.7 in commit 3a63abd.
95%
#190 chore(deps): update dependency lint/ruff to v0.1.0 craft-cli merged Renovate updated lint/ruff from 0.0.290 to 0.1.0; PR #190 was merged as commit b75689c.
95%
#190 chore(deps): update dependency lint/ruff to v0.2.0 craft-application merged Renovate upgraded lint/ruff from 0.1.14 to 0.2.0; PR #190 was approved and merged in commit 9d7306ca.
95%
#204 chore(deps): update dependency lint/ruff to v0.1.6 craft-cli merged Renovate PR #204 merged, upgrading lint/ruff from 0.1.0 to 0.1.6 after two approvals; the dependency pin changed by one line.
95%
#150 chore(deps): update dependency lint/ruff to v0.1.9 craft-store merged Merged PR #150 in commit f98e23f, updating lint/ruff from 0.1.7 to 0.1.9.
95%