Update dependency ruff to v0.17.3 #7

Open
renovate wants to merge 1 commit from renovate/ruff-0.x into main
Member

This PR contains the following updates:

Package Change Age Confidence
ruff (source, changelog) ==0.17.1 → ==0.17.3 age confidence

Release Notes

astral-sh/ruff (ruff)

v0.17.3

Compare Source

Released on 2026-10-26.

Preview features
  • [suspicious] Add shared-clock-mock (#​29074)
Bug fixes
  • [pyupgrade] Avoid incorrect conversions to f-strings (UP032) (#​25485)
Performance
  • Buffer stdout in ruff format (#​29631)
  • Specialize ASCII identifier lexing (#​29503)
  • Speed up identifier and keyword lexing (#​29463)
Documentation
  • [flake8-bandit] Describe what the rule actually checks for httpx (S113) (#​27936)
Contributors

v0.17.2

Compare Source

Released on 2026-10-22.

Preview features
  • [complexity] Add unnecessary-regular-expression-compile (#​25533)
Bug fixes
  • Avoid syntax errors for type variables with starred constraints (UP040, UP046, UP047, RUF053) (#​28362)
  • [pydocstyle] Treat backslash-escaped *args and **kwargs as documented (D417) (#​29536)
  • [pylint] Avoid false positive on starred elements (PLE0643) (#​29483)
  • [pylint] Mark fixes unsafe when deleting comments (PLR5501, PLW0120) (#​29414)
  • [pyupgrade] Mark fix unsafe when deleting comments (UP035) (#​29413)
Performance
  • Avoid intermediate names in lint name resolution (#​29506)
  • Prefilter bidirectional Unicode checks by UTF-8 leading bytes (#​29561)
  • Share postfix parsing and reduce expression copies (#​29480)
Configuration
  • [pylint] Add a configurable allowlist for magic-value-comparison (PLR2004) (#​18961)
Documentation
  • Clarify documentation and correct stale guidance (#​29374)
  • [pyupgrade] Remove mentions of variance related to fix safety (UP040, UP047) (#​29592)
Contributors

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [ruff](https://docs.astral.sh/ruff) ([source](https://github.com/astral-sh/ruff), [changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)) | `==0.17.1` → `==0.17.3` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/ruff/0.17.3?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/ruff/0.17.1/0.17.3?slim=true) | --- ### Release Notes <details> <summary>astral-sh/ruff (ruff)</summary> ### [`v0.17.3`](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#0173) [Compare Source](https://github.com/astral-sh/ruff/compare/0.17.2...0.17.3) Released on 2026-10-26. ##### Preview features - \[`suspicious`] Add `shared-clock-mock` ([#&#8203;29074](https://github.com/astral-sh/ruff/pull/29074)) ##### Bug fixes - \[`pyupgrade`] Avoid incorrect conversions to f-strings (`UP032`) ([#&#8203;25485](https://github.com/astral-sh/ruff/pull/25485)) ##### Performance - Buffer stdout in `ruff format` ([#&#8203;29631](https://github.com/astral-sh/ruff/pull/29631)) - Specialize ASCII identifier lexing ([#&#8203;29503](https://github.com/astral-sh/ruff/pull/29503)) - Speed up identifier and keyword lexing ([#&#8203;29463](https://github.com/astral-sh/ruff/pull/29463)) ##### Documentation - \[`flake8-bandit`] Describe what the rule actually checks for `httpx` (`S113`) ([#&#8203;27936](https://github.com/astral-sh/ruff/pull/27936)) ##### Contributors - [@&#8203;itsvedantkumar](https://github.com/itsvedantkumar) - [@&#8203;charliermarsh](https://github.com/charliermarsh) - [@&#8203;anishgirianish](https://github.com/anishgirianish) ### [`v0.17.2`](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#0172) [Compare Source](https://github.com/astral-sh/ruff/compare/0.17.1...0.17.2) Released on 2026-10-22. ##### Preview features - \[`complexity`] Add `unnecessary-regular-expression-compile` ([#&#8203;25533](https://github.com/astral-sh/ruff/pull/25533)) ##### Bug fixes - Avoid syntax errors for type variables with starred constraints (`UP040`, `UP046`, `UP047`, `RUF053`) ([#&#8203;28362](https://github.com/astral-sh/ruff/pull/28362)) - \[`pydocstyle`] Treat backslash-escaped `*args` and `**kwargs` as documented (`D417`) ([#&#8203;29536](https://github.com/astral-sh/ruff/pull/29536)) - \[`pylint`] Avoid false positive on starred elements (`PLE0643`) ([#&#8203;29483](https://github.com/astral-sh/ruff/pull/29483)) - \[`pylint`] Mark fixes unsafe when deleting comments (`PLR5501`, `PLW0120`) ([#&#8203;29414](https://github.com/astral-sh/ruff/pull/29414)) - \[`pyupgrade`] Mark fix unsafe when deleting comments (`UP035`) ([#&#8203;29413](https://github.com/astral-sh/ruff/pull/29413)) ##### Performance - Avoid intermediate names in lint name resolution ([#&#8203;29506](https://github.com/astral-sh/ruff/pull/29506)) - Prefilter bidirectional Unicode checks by UTF-8 leading bytes ([#&#8203;29561](https://github.com/astral-sh/ruff/pull/29561)) - Share postfix parsing and reduce expression copies ([#&#8203;29480](https://github.com/astral-sh/ruff/pull/29480)) ##### Configuration - \[`pylint`] Add a configurable allowlist for `magic-value-comparison` (`PLR2004`) ([#&#8203;18961](https://github.com/astral-sh/ruff/pull/18961)) ##### Documentation - Clarify documentation and correct stale guidance ([#&#8203;29374](https://github.com/astral-sh/ruff/pull/29374)) - \[`pyupgrade`] Remove mentions of variance related to fix safety (`UP040`, `UP047`) ([#&#8203;29592](https://github.com/astral-sh/ruff/pull/29592)) ##### Contributors - [@&#8203;fixfon](https://github.com/fixfon) - [@&#8203;MichaReiser](https://github.com/MichaReiser) - [@&#8203;zaniebot](https://github.com/zaniebot) - [@&#8203;FrancescoPezzella](https://github.com/FrancescoPezzella) - [@&#8203;anishgirianish](https://github.com/anishgirianish) - [@&#8203;rajveer3x](https://github.com/rajveer3x) - [@&#8203;charliermarsh](https://github.com/charliermarsh) - [@&#8203;LckyLike](https://github.com/LckyLke) - [@&#8203;DaniBodor](https://github.com/DaniBodor) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **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 CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMDQuMiIsInVwZGF0ZWRJblZlciI6IjQ0LjEwNC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Update dependency ruff to v0.17.2
Some checks failed
CI / lint (push) Failing after -3s
CI / build (push) Has been skipped
renovate/stability-days Updates have met minimum release age requirement
b26efc3da0
renovate force-pushed renovate/ruff-0.x from b26efc3da0
Some checks failed
CI / lint (push) Failing after -3s
CI / build (push) Has been skipped
renovate/stability-days Updates have met minimum release age requirement
to 309efe273c
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
CI / lint (push) Successful in 26s
CI / build (push) Successful in 4m22s
2026-11-03 02:00:46 +00:00
Compare
renovate changed title from Update dependency ruff to v0.17.2 to Update dependency ruff to v0.17.3 2026-11-03 02:00:54 +00:00
tmakinen force-pushed renovate/ruff-0.x from 309efe273c
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
CI / lint (push) Successful in 26s
CI / build (push) Successful in 4m22s
to 38a52f3122
All checks were successful
CI / lint (push) Successful in 16s
CI / build (push) Successful in 3m42s
2026-11-05 08:16:55 +00:00
Compare
All checks were successful
CI / lint (push) Successful in 16s
CI / build (push) Successful in 3m42s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/ruff-0.x:renovate/ruff-0.x
git switch renovate/ruff-0.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff renovate/ruff-0.x
git switch renovate/ruff-0.x
git rebase main
git switch main
git merge --ff-only renovate/ruff-0.x
git switch renovate/ruff-0.x
git rebase main
git switch main
git merge --no-ff renovate/ruff-0.x
git switch main
git merge --squash renovate/ruff-0.x
git switch main
git merge --ff-only renovate/ruff-0.x
git switch main
git merge renovate/ruff-0.x
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
foo.sh/esphome!7
No description provided.