Update dependency ruff to v0.13.2 (#20622)
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs
from Renovate will soon appear from 'Mend'. Learn more
[here](https://redirect.github.com/renovatebot/renovate/discussions/37842).
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| [ruff](https://docs.astral.sh/ruff)
([source](https://redirect.github.com/astral-sh/ruff),
[changelog](https://redirect.github.com/astral-sh/ruff/blob/main/CHANGELOG.md))
| `==0.13.1` -> `==0.13.2` |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>astral-sh/ruff (ruff)</summary>
###
[`v0.13.2`](https://redirect.github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#0132)
[Compare
Source](https://redirect.github.com/astral-sh/ruff/compare/0.13.1...0.13.2)
Released on 2025-09-25.
##### Preview features
- \[`flake8-async`] Implement `blocking-path-method` (`ASYNC240`)
([#​20264](https://redirect.github.com/astral-sh/ruff/pull/20264))
- \[`flake8-bugbear`] Implement `map-without-explicit-strict` (`B912`)
([#​20429](https://redirect.github.com/astral-sh/ruff/pull/20429))
- \[`flake8-bultins`] Detect class-scope builtin shadowing in
decorators, default args, and attribute initializers (`A003`)
([#​20178](https://redirect.github.com/astral-sh/ruff/pull/20178))
- \[`ruff`] Implement `logging-eager-conversion` (`RUF065`)
([#​19942](https://redirect.github.com/astral-sh/ruff/pull/19942))
- Include `.pyw` files by default when linting and formatting
([#​20458](https://redirect.github.com/astral-sh/ruff/pull/20458))
##### Bug fixes
- Deduplicate input paths
([#​20105](https://redirect.github.com/astral-sh/ruff/pull/20105))
- \[`flake8-comprehensions`] Preserve trailing commas for single-element
lists (`C409`)
([#​19571](https://redirect.github.com/astral-sh/ruff/pull/19571))
- \[`flake8-pyi`] Avoid syntax error from conflict with `PIE790`
(`PYI021`)
([#​20010](https://redirect.github.com/astral-sh/ruff/pull/20010))
- \[`flake8-simplify`] Correct fix for positive `maxsplit` without
separator (`SIM905`)
([#​20056](https://redirect.github.com/astral-sh/ruff/pull/20056))
- \[`pyupgrade`] Fix `UP008` not to apply when `__class__` is a local
variable
([#​20497](https://redirect.github.com/astral-sh/ruff/pull/20497))
- \[`ruff`] Fix `B004` to skip invalid `hasattr`/`getattr` calls
([#​20486](https://redirect.github.com/astral-sh/ruff/pull/20486))
- \[`ruff`] Replace `-nan` with `nan` when using the value to construct
a `Decimal` (`FURB164` )
([#​20391](https://redirect.github.com/astral-sh/ruff/pull/20391))
##### Documentation
- Add 'Finding ways to help' to CONTRIBUTING.md
([#​20567](https://redirect.github.com/astral-sh/ruff/pull/20567))
- Update import path to `ruff-wasm-web`
([#​20539](https://redirect.github.com/astral-sh/ruff/pull/20539))
- \[`flake8-bandit`] Clarify the supported hashing functions (`S324`)
([#​20534](https://redirect.github.com/astral-sh/ruff/pull/20534))
##### Other changes
- \[`playground`] Allow hover quick fixes to appear for overlapping
diagnostics
([#​20527](https://redirect.github.com/astral-sh/ruff/pull/20527))
- \[`playground`] Fix nonโBMP code point handling in quick fixes and
markers
([#​20526](https://redirect.github.com/astral-sh/ruff/pull/20526))
##### Contributors
- [@​BurntSushi](https://redirect.github.com/BurntSushi)
- [@​mtshiba](https://redirect.github.com/mtshiba)
- [@​second-ed](https://redirect.github.com/second-ed)
- [@​danparizher](https://redirect.github.com/danparizher)
- [@​ShikChen](https://redirect.github.com/ShikChen)
- [@​PieterCK](https://redirect.github.com/PieterCK)
- [@​GDYendell](https://redirect.github.com/GDYendell)
- [@​RazerM](https://redirect.github.com/RazerM)
- [@​TaKO8Ki](https://redirect.github.com/TaKO8Ki)
- [@​amyreese](https://redirect.github.com/amyreese)
- [@​ntbre](https://redirect.github.com/ntBre)
- [@​MichaReiser](https://redirect.github.com/MichaReiser)
</details>
---
### Configuration
๐
**Schedule**: Branch creation - "before 4am on Monday" (UTC),
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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/astral-sh/ruff).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xMzEuOSIsInVwZGF0ZWRJblZlciI6IjQxLjEzMS45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>