← Back to issue list

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

View original Github issue

Metadata

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

Current evaluation

Merged PR #570 as commit d81d5fb, updating lint/ruff from 0.4.3 to 0.4.5.

Resolution: closed resolved

Reason: The dependency update was merged into main as commit d81d5fb, pinning lint/ruff to version 0.4.5.

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.3` -> `==0.4.5` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/lint%2fruff/0.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/lint%2fruff/0.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/lint%2fruff/0.4.3/0.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/lint%2fruff/0.4.3/0.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>astral-sh/ruff (lint/ruff)</summary> ### [`v0.4.5`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#045) [Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.4.4...v0.4.5) ##### Ruff's language server is now in Beta `v0.4.5` marks the official Beta release of `ruff server`, an integrated language server built into Ruff. `ruff server` supports the same feature set as `ruff-lsp`, powering linting, formatting, and code fixes in Ruff's editor integrations -- but with superior performance and no installation required. We'd love your feedback! You can enable `ruff server` in the [VS Code extension](https://togithub.com/astral-sh/ruff-vscode?tab=readme-ov-file#enabling-the-rust-based-language-server) today. To read more about this exciting milestone, check out our [blog post](https://astral.sh/blog/ruff-v0.4.5)! ##### Rule changes - \[`flake8-future-annotations`] Reword `future-rewritable-type-annotation` (`FA100`) message ([#&#8203;11381](https://togithub.com/astral-sh/ruff/pull/11381)) - \[`pycodestyle`] Consider soft keywords for `E27` rules ([#&#8203;11446](https://togithub.com/astral-sh/ruff/pull/11446)) - \[`pyflakes`] Recommend adding unused import bindings to `__all__` ([#&#8203;11314](https://togithub.com/astral-sh/ruff/pull/11314)) - \[`pyflakes`] Update documentation and deprecate `ignore_init_module_imports` ([#&#8203;11436](https://togithub.com/astral-sh/ruff/pull/11436)) - \[`pyupgrade`] Mark quotes as unnecessary for non-evaluated annotations ([#&#8203;11485](https://togithub.com/astral-sh/ruff/pull/11485)) ##### Formatter - Avoid multiline quotes warning with `quote-style = preserve` ([#&#8203;11490](https://togithub.com/astral-sh/ruff/pull/11490)) ##### Server - Support Jupyter Notebook files ([#&#8203;11206](https://togithub.com/astral-sh/ruff/pull/11206)) - Support `noqa` comment code actions ([#&#8203;11276](https://togithub.com/astral-sh/ruff/pull/11276)) - Fix automatic configuration reloading ([#&#8203;11492](https://togithub.com/astral-sh/ruff/pull/11492)) - Fix several issues with configuration in Neovim and Helix ([#&#8203;11497](https://togithub.com/astral-sh/ruff/pull/11497)) ##### CLI - Add `--output-format` as a CLI option for `ruff config` ([#&#8203;11438](https://togithub.com/astral-sh/ruff/pull/11438)) ##### Bug fixes - Avoid `PLE0237` for property with setter ([#&#8203;11377](https://togithub.com/astral-sh/ruff/pull/11377)) - Avoid `TCH005` for `if` stmt with `elif`/`else` block ([#&#8203;11376](https://togithub.com/astral-sh/ruff/pull/11376)) - Avoid flagging `__future__` annotations as required for non-evaluated type annotations ([#&#8203;11414](https://togithub.com/astral-sh/ruff/pull/11414)) - Check for ruff executable in 'bin' directory as installed by 'pip install --target'. ([#&#8203;11450](https://togithub.com/astral-sh/ruff/pull/11450)) - Sort edits prior to deduplicating in quotation fix ([#&#8203;11452](https://togithub.com/astral-sh/ruff/pull/11452)) - Treat escaped newline as valid sequence ([#&#8203;11465](https://togithub.com/astral-sh/ruff/pull/11465)) - \[`flake8-pie`] Preserve parentheses in `unnecessary-dict-kwargs` ([#&#8203;11372](https://togithub.com/astral-sh/ruff/pull/11372)) - \[`pylint`] Ignore `__slots__` with dynamic values ([#&#8203;11488](https://togithub.com/astral-sh/ruff/pull/11488)) - \[`pylint`] Remove `try` body from branch counting ([#&#8203;11487](https://togithub.com/astral-sh/ruff/pull/11487)) - \[`refurb`] Respect operator precedence in `FURB110` ([#&#8203;11464](https://togithub.com/astral-sh/ruff/pull/11464)) ##### Documentation - Add `--preview` to the README ([#&#8203;11395](https://togithub.com/astral-sh/ruff/pull/11395)) - Add Python 3.13 to list of allowed Python versions ([#&#8203;11411](https://togithub.com/astral-sh/ruff/pull/11411)) - Simplify Neovim setup documentation ([#&#8203;11489](https://togithub.com/astral-sh/ruff/pull/11489)) - Update CONTRIBUTING.md to reflect the new parser ([#&#8203;11434](https://togithub.com/astral-sh/ruff/pull/11434)) - Update server documentation with new migration guide ([#&#8203;11499](https://togithub.com/astral-sh/ruff/pull/11499)) - \[`pycodestyle`] Clarify motivation for `E713` and `E714` ([#&#8203;11483](https://togithub.com/astral-sh/ruff/pull/11483)) - \[`pyflakes`] Update docs to describe WAI behavior (F541) ([#&#8203;11362](https://togithub.com/astral-sh/ruff/pull/11362)) - \[`pylint`] Clearly indicate what is counted as a branch ([#&#8203;11423](https://togithub.com/astral-sh/ruff/pull/11423)) ### [`v0.4.4`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#044) [Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.4.3...v0.4.4) ##### Preview features - \[`pycodestyle`] Ignore end-of-line comments when determining blank line rules ([#&#8203;11342](https://togithub.com/astral-sh/ruff/pull/11342)) - \[`pylint`] Detect `pathlib.Path.open` calls in `unspecified-encoding` (`PLW1514`) ([#&#8203;11288](https://togithub.com/astral-sh/ruff/pull/11288)) - \[`flake8-pyi`] Implement `PYI059` (`generic-not-last-base-class`) ([#&#8203;11233](https://togithub.com/astral-sh/ruff/pull/11233)) - \[`flake8-pyi`] Implement `PYI062` (`duplicate-literal-member`) ([#&#8203;11269](https://togithub.com/astral-sh/ruff/pull/11269)) ##### Rule changes - \[`flake8-boolean-trap`] Allow passing booleans as positional-only arguments in code such as `set(True)` ([#&#8203;11287](https://togithub.com/astral-sh/ruff/pull/11287)) - \[`flake8-bugbear`] Ignore enum classes in `cached-instance-method` (`B019`) ([#&#8203;11312](https://togithub.com/astral-sh/ruff/pull/11312)) ##### Server - Expand tildes when resolving Ruff server configuration file ([#&#8203;11283](https://togithub.com/astral-sh/ruff/pull/11283)) - Fix `ruff server` hanging after Neovim closes ([#&#8203;11291](https://togithub.com/astral-sh/ruff/pull/11291)) - Editor settings are used by default if no file-based configuration exists ([#&#8203;11266](https://togithub.com/astral-sh/ruff/pull/11266)) ##### Bug fixes - \[`pylint`] Consider `with` statements for `too-many-branches` (`PLR0912`) ([#&#8203;11321](https://togithub.com/astral-sh/ruff/pull/11321)) - \[`flake8-blind-except`, `tryceratops`] Respect logged and re-raised expressions in nested statements (`BLE001`, `TRY201`) ([#&#8203;11301](https://togithub.com/astral-sh/ruff/pull/11301)) - Recognise assignments such as `__all__ = builtins.list(["foo", "bar"])` as valid `__all__` definitions ([#&#8203;11335](https://togithub.com/astral-sh/ruff/pull/11335)) </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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM2OC4xMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #570 as commit d81d5fb, updating lint/ruff from 0.4.3 to 0.4.5.
qwen/qwen3.6-35b-a3b — closed resolved Merged Renovate PR updating lint/ruff from 0.4.3 to 0.4.5, incorporating bug fixes and the beta release of ruff server.

Update history

Date Change
created

Related issues

Issue Project State Summary Similarity
#577 chore(deps): update dependency lint/ruff to v0.4.8 craft-providers merged Merged PR #577 updates lint/ruff from v0.4.5 to v0.4.8 in commit b406db7.
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%
#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.
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.
98%
#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.
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%
#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.
98%
#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.
98%
#179 chore(deps): update dependency lint/ruff to v0.0.290 craft-cli merged Merged PR #179 updated lint/ruff from 0.0.285 to 0.0.290 via commit 53bc983.
97%