chore(deps): update ruff to v0.13.1 #1238
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.
This PR contains the following updates:
v0.13.0
->v0.13.1
==0.13.0
->==0.13.1
Note: The
pre-commit
manager in Renovate is not supported by thepre-commit
maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.Release Notes
astral-sh/ruff-pre-commit (astral-sh/ruff-pre-commit)
v0.13.1
Compare Source
See: https://github.com/astral-sh/ruff/releases/tag/0.13.1
astral-sh/ruff (ruff)
v0.13.1
Compare Source
Released on 2025-09-18.
Preview features
flake8-simplify
] Detect unnecessaryNone
default for additional key expression types (SIM910
) (#20343)flake8-use-pathlib
] Add fix forPTH123
(#20169)flake8-use-pathlib
] FixPTH101
,PTH104
,PTH105
,PTH121
fixes (#20143)flake8-use-pathlib
] MakePTH111
fix unsafe because it can change behavior (#20215)pycodestyle
] FixE301
to only trigger for functions immediately within a class (#19768)refurb
] Marksingle-item-membership-test
fix as always unsafe (FURB171
) (#20279)Bug fixes
flake8-bandit
] Fix truthiness: dict-only**
displays not truthy forshell
(S602
,S604
,S609
) (#20177)flake8-simplify
] Fix diagnostic to show correct method name forstr.rsplit
calls (SIM905
) (#20459)flynt
] Use triple quotes for joined raw strings with newlines (FLY002
) (#20197)pyupgrade
] Fix false positive when class name is shadowed by local variable (UP008
) (#20427)pyupgrade
] Prevent infinite loop withI002
andUP026
(#20327)ruff
] Recognize t-strings, generators, and lambdas ininvalid-index-type
(RUF016
) (#20213)Rule changes
RUF102
] Respect rule redirects in invalid rule code detection (#20245)flake8-bugbear
] Mark the fix forunreliable-callable-check
as always unsafe (B004
) (#20318)ruff
] Allow dataclass attribute value instantiation from nested frozen dataclass (RUF009
) (#20352)CLI
output-format=sarif
(#20300)Documentation
ruff
] Addanalyze.string-imports-min-dots
to settings (#20375)Other changes
Contributors
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.