chore(deps): update dependency lint/ruff to v0.4.5
Metadata
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
[](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` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](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 ([#​11381](https://togithub.com/astral-sh/ruff/pull/11381))
- \[`pycodestyle`] Consider soft keywords for `E27` rules ([#​11446](https://togithub.com/astral-sh/ruff/pull/11446))
- \[`pyflakes`] Recommend adding unused import bindings to `__all__` ([#​11314](https://togithub.com/astral-sh/ruff/pull/11314))
- \[`pyflakes`] Update documentation and deprecate `ignore_init_module_imports` ([#​11436](https://togithub.com/astral-sh/ruff/pull/11436))
- \[`pyupgrade`] Mark quotes as unnecessary for non-evaluated annotations ([#​11485](https://togithub.com/astral-sh/ruff/pull/11485))
##### Formatter
- Avoid multiline quotes warning with `quote-style = preserve` ([#​11490](https://togithub.com/astral-sh/ruff/pull/11490))
##### Server
- Support Jupyter Notebook files ([#​11206](https://togithub.com/astral-sh/ruff/pull/11206))
- Support `noqa` comment code actions ([#​11276](https://togithub.com/astral-sh/ruff/pull/11276))
- Fix automatic configuration reloading ([#​11492](https://togithub.com/astral-sh/ruff/pull/11492))
- Fix several issues with configuration in Neovim and Helix ([#​11497](https://togithub.com/astral-sh/ruff/pull/11497))
##### CLI
- Add `--output-format` as a CLI option for `ruff config` ([#​11438](https://togithub.com/astral-sh/ruff/pull/11438))
##### Bug fixes
- Avoid `PLE0237` for property with setter ([#​11377](https://togithub.com/astral-sh/ruff/pull/11377))
- Avoid `TCH005` for `if` stmt with `elif`/`else` block ([#​11376](https://togithub.com/astral-sh/ruff/pull/11376))
- Avoid flagging `__future__` annotations as required for non-evaluated type annotations ([#​11414](https://togithub.com/astral-sh/ruff/pull/11414))
- Check for ruff executable in 'bin' directory as installed by 'pip install --target'. ([#​11450](https://togithub.com/astral-sh/ruff/pull/11450))
- Sort edits prior to deduplicating in quotation fix ([#​11452](https://togithub.com/astral-sh/ruff/pull/11452))
- Treat escaped newline as valid sequence ([#​11465](https://togithub.com/astral-sh/ruff/pull/11465))
- \[`flake8-pie`] Preserve parentheses in `unnecessary-dict-kwargs` ([#​11372](https://togithub.com/astral-sh/ruff/pull/11372))
- \[`pylint`] Ignore `__slots__` with dynamic values ([#​11488](https://togithub.com/astral-sh/ruff/pull/11488))
- \[`pylint`] Remove `try` body from branch counting ([#​11487](https://togithub.com/astral-sh/ruff/pull/11487))
- \[`refurb`] Respect operator precedence in `FURB110` ([#​11464](https://togithub.com/astral-sh/ruff/pull/11464))
##### Documentation
- Add `--preview` to the README ([#​11395](https://togithub.com/astral-sh/ruff/pull/11395))
- Add Python 3.13 to list of allowed Python versions ([#​11411](https://togithub.com/astral-sh/ruff/pull/11411))
- Simplify Neovim setup documentation ([#​11489](https://togithub.com/astral-sh/ruff/pull/11489))
- Update CONTRIBUTING.md to reflect the new parser ([#​11434](https://togithub.com/astral-sh/ruff/pull/11434))
- Update server documentation with new migration guide ([#​11499](https://togithub.com/astral-sh/ruff/pull/11499))
- \[`pycodestyle`] Clarify motivation for `E713` and `E714` ([#​11483](https://togithub.com/astral-sh/ruff/pull/11483))
- \[`pyflakes`] Update docs to describe WAI behavior (F541) ([#​11362](https://togithub.com/astral-sh/ruff/pull/11362))
- \[`pylint`] Clearly indicate what is counted as a branch ([#​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 ([#​11342](https://togithub.com/astral-sh/ruff/pull/11342))
- \[`pylint`] Detect `pathlib.Path.open` calls in `unspecified-encoding` (`PLW1514`) ([#​11288](https://togithub.com/astral-sh/ruff/pull/11288))
- \[`flake8-pyi`] Implement `PYI059` (`generic-not-last-base-class`) ([#​11233](https://togithub.com/astral-sh/ruff/pull/11233))
- \[`flake8-pyi`] Implement `PYI062` (`duplicate-literal-member`) ([#​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)` ([#​11287](https://togithub.com/astral-sh/ruff/pull/11287))
- \[`flake8-bugbear`] Ignore enum classes in `cached-instance-method` (`B019`) ([#​11312](https://togithub.com/astral-sh/ruff/pull/11312))
##### Server
- Expand tildes when resolving Ruff server configuration file ([#​11283](https://togithub.com/astral-sh/ruff/pull/11283))
- Fix `ruff server` hanging after Neovim closes ([#​11291](https://togithub.com/astral-sh/ruff/pull/11291))
- Editor settings are used by default if no file-based configuration exists ([#​11266](https://togithub.com/astral-sh/ruff/pull/11266))
##### Bug fixes
- \[`pylint`] Consider `with` statements for `too-many-branches` (`PLR0912`) ([#​11321](https://togithub.com/astral-sh/ruff/pull/11321))
- \[`flake8-blind-except`, `tryceratops`] Respect logged and re-raised expressions in nested statements (`BLE001`, `TRY201`) ([#​11301](https://togithub.com/astral-sh/ruff/pull/11301))
- Recognise assignments such as `__all__ = builtins.list(["foo", "bar"])` as valid `__all__` definitions ([#​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. | |
| #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. | |
| #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. | |
| #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. | |
| #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. | |
| #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. | |
| #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. | |
| #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. | |
| #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. | |
| #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. |