chore(deps): update dependency ruff to v0.12.4 #171
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.
This PR contains the following updates:
==0.12.2
->==0.12.4
Release Notes
astral-sh/ruff (ruff)
v0.12.4
Compare Source
Preview features
flake8-type-checking
,pyupgrade
,ruff
] Addfrom __future__ import annotations
when it would allow new fixes (TC001
,TC002
,TC003
,UP037
,RUF013
) (#19100)flake8-use-pathlib
] Add autofix forPTH109
(#19245)pylint
] Detect indirectpathlib.Path
usages forunspecified-encoding
(PLW1514
) (#19304)Bug fixes
flake8-bugbear
] FixB017
false negatives for keyword exception arguments (#19217)flake8-use-pathlib
] Fix false negative on directPath()
instantiation (PTH210
) (#19388)flake8-django
] FixDJ008
false positive for abstract models with type-annotatedabstract
field (#19221)isort
] FixI002
import insertion after docstring with multiple string statements (#19222)isort
] Treat form feed as valid whitespace before a semicolon (#19343)pydoclint
] FixSyntaxError
from fixes with line continuations (D201
,D202
) (#19246)refurb
]FURB164
fix should validate arguments and should usually be marked unsafe (#19136)Rule changes
flake8-use-pathlib
] Skip single dots forinvalid-pathlib-with-suffix
(PTH210
) on versions >= 3.14 (#19331)pep8_naming
] Avoid false positives on standard library functions with uppercase names (N802
) (#18907)pycodestyle
] Handle brace escapes for t-strings in logical lines (#19358)pylint
] Extend invalid string character rules to include t-strings (#19355)ruff
] Allowstrict
kwarg when checking forstarmap-zip
(RUF058
) in Python 3.14+ (#19333)Documentation
flake8-type-checking
] MakeTC010
docs example more realistic (#19356)v0.12.3
Compare Source
Preview features
flake8-bugbear
] Support non-context-manager calls inB017
(#19063)flake8-use-pathlib
] Add autofixes forPTH100
,PTH106
,PTH107
,PTH108
,PTH110
,PTH111
,PTH112
,PTH113
,PTH114
,PTH115
,PTH117
,PTH119
,PTH120
(#19213)flake8-use-pathlib
] Add autofixes forPTH203
,PTH204
,PTH205
(#18922)Bug fixes
flake8-return
] Fix false-positive for variables used inside nested functions inRET504
(#18433)flake8-type-checking
] Fix syntax error introduced by fix (TC008
) (#19150)pyupgrade
] Keyword arguments insuper
should suppress theUP008
fix (#19131)Documentation
flake8-pyi
] Make example error out-of-the-box (PYI007
,PYI008
) (#19103)flake8-simplify
] Make example error out-of-the-box (SIM116
) (#19111)flake8-type-checking
] Make example error out-of-the-box (TC001
) (#19151)flake8-use-pathlib
] Make example error out-of-the-box (PTH210
) (#19189)pycodestyle
] Make example error out-of-the-box (E272
) (#19191)pycodestyle
] Make example not raise unnecessarySyntaxError
(E114
) (#19190)pydoclint
] Make example error out-of-the-box (DOC501
) (#19218)pylint
,pyupgrade
] Fix syntax errors in examples (PLW1501
,UP028
) (#19127)pylint
] Updatemissing-maxsplit-arg
docs and error to suggest proper usage (PLC0207
) (#18949)flake8-bandit
] Make example error out-of-the-box (S412
) (#19241)Configuration
📅 Schedule: 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.
This PR was generated by Mend Renovate. View the repository job log.