← Back to issue list

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

View original Github issue

Metadata

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

Current evaluation

Merged PR #577 updates lint/ruff from v0.4.5 to v0.4.8 in commit b406db7.

Resolution: closed resolved

Reason: Renovate's dependency update was approved and merged as commit b406db7, applying the one-line Ruff version bump.

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.4.5` -> `==0.4.8` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/lint%2fruff/0.4.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/lint%2fruff/0.4.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/lint%2fruff/0.4.5/0.4.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/lint%2fruff/0.4.5/0.4.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>astral-sh/ruff (lint/ruff)</summary> ### [`v0.4.8`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#048) [Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.4.7...v0.4.8) ##### Performance - Linter performance has been improved by around 10% on some microbenchmarks by refactoring the lexer and parser to maintain synchronicity between them ([#&#8203;11457](https://togithub.com/astral-sh/ruff/pull/11457)) ##### Preview features - \[`flake8-bugbear`] Implement `return-in-generator` (`B901`) ([#&#8203;11644](https://togithub.com/astral-sh/ruff/pull/11644)) - \[`flake8-pyi`] Implement `PYI063` ([#&#8203;11699](https://togithub.com/astral-sh/ruff/pull/11699)) - \[`pygrep_hooks`] Check blanket ignores via file-level pragmas (`PGH004`) ([#&#8203;11540](https://togithub.com/astral-sh/ruff/pull/11540)) ##### Rule changes - \[`pyupgrade`] Update `UP035` for Python 3.13 and the latest version of `typing_extensions` ([#&#8203;11693](https://togithub.com/astral-sh/ruff/pull/11693)) - \[`numpy`] Update `NPY001` rule for NumPy 2.0 ([#&#8203;11735](https://togithub.com/astral-sh/ruff/pull/11735)) ##### Server - Formatting a document with syntax problems no longer spams a visible error popup ([#&#8203;11745](https://togithub.com/astral-sh/ruff/pull/11745)) ##### CLI - Add RDJson support for `--output-format` flag ([#&#8203;11682](https://togithub.com/astral-sh/ruff/pull/11682)) ##### Bug fixes - \[`pyupgrade`] Write empty string in lieu of panic when fixing `UP032` ([#&#8203;11696](https://togithub.com/astral-sh/ruff/pull/11696)) - \[`flake8-simplify`] Simplify double negatives in `SIM103` ([#&#8203;11684](https://togithub.com/astral-sh/ruff/pull/11684)) - Ensure the expression generator adds a newline before `type` statements ([#&#8203;11720](https://togithub.com/astral-sh/ruff/pull/11720)) - Respect per-file ignores for blanket and redirected noqa rules ([#&#8203;11728](https://togithub.com/astral-sh/ruff/pull/11728)) ### [`v0.4.7`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#047) [Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.4.6...v0.4.7) ##### Preview features - \[`flake8-pyi`] Implement `PYI064` ([#&#8203;11325](https://togithub.com/astral-sh/ruff/pull/11325)) - \[`flake8-pyi`] Implement `PYI066` ([#&#8203;11541](https://togithub.com/astral-sh/ruff/pull/11541)) - \[`flake8-pyi`] Implement `PYI057` ([#&#8203;11486](https://togithub.com/astral-sh/ruff/pull/11486)) - \[`pyflakes`] Enable `F822` in `__init__.py` files by default ([#&#8203;11370](https://togithub.com/astral-sh/ruff/pull/11370)) ##### Formatter - Fix incorrect placement of trailing stub function comments ([#&#8203;11632](https://togithub.com/astral-sh/ruff/pull/11632)) ##### Server - Respect file exclusions in `ruff server` ([#&#8203;11590](https://togithub.com/astral-sh/ruff/pull/11590)) - Add support for documents not exist on disk ([#&#8203;11588](https://togithub.com/astral-sh/ruff/pull/11588)) - Add Vim and Kate setup guide for `ruff server` ([#&#8203;11615](https://togithub.com/astral-sh/ruff/pull/11615)) ##### Bug fixes - Avoid removing newlines between docstring headers and rST blocks ([#&#8203;11609](https://togithub.com/astral-sh/ruff/pull/11609)) - Infer indentation with imports when logical indent is absent ([#&#8203;11608](https://togithub.com/astral-sh/ruff/pull/11608)) - Use char index rather than position for indent slice ([#&#8203;11645](https://togithub.com/astral-sh/ruff/pull/11645)) - \[`flake8-comprehension`] Strip parentheses around generators in `C400` ([#&#8203;11607](https://togithub.com/astral-sh/ruff/pull/11607)) - Mark `repeated-isinstance-calls` as unsafe on Python 3.10 and later ([#&#8203;11622](https://togithub.com/astral-sh/ruff/pull/11622)) ### [`v0.4.6`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#046) [Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.4.5...v0.4.6) ##### Breaking changes - Use project-relative paths when calculating GitLab fingerprints ([#&#8203;11532](https://togithub.com/astral-sh/ruff/pull/11532)) ##### Preview features - \[`flake8-async`] Sleep with >24 hour interval should usually sleep forever (`ASYNC116`) ([#&#8203;11498](https://togithub.com/astral-sh/ruff/pull/11498)) ##### Rule changes - \[`numpy`] Add missing functions to NumPy 2.0 migration rule ([#&#8203;11528](https://togithub.com/astral-sh/ruff/pull/11528)) - \[`mccabe`] Consider irrefutable pattern similar to `if .. else` for `C901` ([#&#8203;11565](https://togithub.com/astral-sh/ruff/pull/11565)) - Consider `match`-`case` statements for `C901`, `PLR0912`, and `PLR0915` ([#&#8203;11521](https://togithub.com/astral-sh/ruff/pull/11521)) - Remove empty strings when converting to f-string (`UP032`) ([#&#8203;11524](https://togithub.com/astral-sh/ruff/pull/11524)) - \[`flake8-bandit`] `request-without-timeout` should warn for `requests.request` ([#&#8203;11548](https://togithub.com/astral-sh/ruff/pull/11548)) - \[`flake8-self`] Ignore sunder accesses in `flake8-self` rules ([#&#8203;11546](https://togithub.com/astral-sh/ruff/pull/11546)) - \[`pyupgrade`] Lint for `TypeAliasType` usages (`UP040`) ([#&#8203;11530](https://togithub.com/astral-sh/ruff/pull/11530)) ##### Server - Respect excludes in `ruff server` configuration discovery ([#&#8203;11551](https://togithub.com/astral-sh/ruff/pull/11551)) - Use default settings if initialization options is empty or not provided ([#&#8203;11566](https://togithub.com/astral-sh/ruff/pull/11566)) - `ruff server` correctly treats `.pyi` files as stub files ([#&#8203;11535](https://togithub.com/astral-sh/ruff/pull/11535)) - `ruff server` searches for configuration in parent directories ([#&#8203;11537](https://togithub.com/astral-sh/ruff/pull/11537)) - `ruff server`: An empty code action filter no longer returns notebook source actions ([#&#8203;11526](https://togithub.com/astral-sh/ruff/pull/11526)) ##### Bug fixes - \[`flake8-logging-format`] Fix autofix title in `logging-warn` (`G010`) ([#&#8203;11514](https://togithub.com/astral-sh/ruff/pull/11514)) - \[`refurb`] Avoid recommending `operator.itemgetter` with dependence on lambda arguments ([#&#8203;11574](https://togithub.com/astral-sh/ruff/pull/11574)) - \[`flake8-simplify`] Avoid recommending context manager in `__enter__` implementations ([#&#8203;11575](https://togithub.com/astral-sh/ruff/pull/11575)) - Create intermediary directories for `--output-file` ([#&#8203;11550](https://togithub.com/astral-sh/ruff/pull/11550)) - Propagate reads on global variables ([#&#8203;11584](https://togithub.com/astral-sh/ruff/pull/11584)) - Treat all `singledispatch` arguments as runtime-required ([#&#8203;11523](https://togithub.com/astral-sh/ruff/pull/11523)) </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-providers). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #577 updates lint/ruff from v0.4.5 to v0.4.8 in commit b406db7.
stealth/space-bunny-alpha — closed resolved Merged in canonical/craft-providers#577 via commit b406db7, updating lint/ruff from 0.4.5 to 0.4.8.
qwen/qwen3.6-35b-a3b — closed resolved Updated lint/ruff dependency from v0.4.5 to v0.4.8. Merged after approval, incorporating upstream performance improvements, new rules, and bug fixes.

Update history

Date Change
created

Related issues

Issue Project State Summary Similarity
#570 chore(deps): update dependency lint/ruff to v0.4.5 craft-providers merged Merged PR #570 as commit d81d5fb, updating lint/ruff from 0.4.3 to 0.4.5.
99%
#109 chore(deps): update dependency lint/ruff to v0.4.7 craft-archives merged Merged PR #109 updated lint dependency Ruff from 0.0.269 to 0.4.7 in commit 5e94380.
98%
#548 chore(deps): update dependency lint/ruff to v0.3.5 craft-providers merged Merged PR #548 updated lint/ruff from 0.3.4 to 0.3.5 in commit afff221.
98%
#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.
98%
#375 chore(deps): update dependency lint/ruff to v0.0.280 craft-providers merged Merged PR #375, updating lint/ruff from 0.0.277 to 0.0.280 in commit b03d6d3.
97%
#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.
97%
#181 chore(deps): update dependency lint/ruff to v0.2.0 starbase merged Merged PR #181, updating lint/ruff from 0.1.14 to 0.2.0; landed as commit 5a0b0ea.
97%
#543 chore(deps): update dependency lint/ruff to v0.3.4 craft-providers merged Renovate PR #543 was merged, updating lint/ruff from v0.3.2 to v0.3.4 in commit 41a09fe.
97%
#138 chore(deps): update dependency lint/ruff to v0.1.0 starbase merged Merged PR #138 updated lint/ruff from 0.0.291 to 0.1.0 in commit a8e334e.
97%
#123 chore(deps): update dependency lint/ruff to v0.0.285 starbase merged Merged PR #123 in commit 25c3c1d, updating lint/ruff from 0.0.284 to 0.0.285.
97%