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.
Created by
brew bumpCreated with
brew bump-formula-pr.release notes
flake8-type-checking,pyupgrade,ruff] Addfrom __future__ import annotationswhen it would allow new fixes (TC001,TC002,TC003,UP037,RUF013) (#19100)flake8-use-pathlib] Add autofix forPTH109(#19245)pylint] Detect indirectpathlib.Pathusages forunspecified-encoding(PLW1514) (#19304)Bug fixes
flake8-bugbear] FixB017false negatives for keyword exception arguments (#19217)flake8-use-pathlib] Fix false negative on directPath()instantiation (PTH210) (#19388)flake8-django] FixDJ008false positive for abstract models with type-annotatedabstractfield (#19221)isort] FixI002import insertion after docstring with multiple string statements (#19222)isort] Treat form feed as valid whitespace before a semicolon (#19343)pydoclint] FixSyntaxErrorfrom fixes with line continuations (D201,D202) (#19246)refurb]FURB164fix 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] Allowstrictkwarg when checking forstarmap-zip(RUF058) in Python 3.14+ (#19333)Documentation
flake8-type-checking] MakeTC010docs example more realistic (#19356)Contributors
Install ruff 0.12.4
Install prebuilt binaries via shell script
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/ruff/releases/download/0.12.4/ruff-installer.ps1 | iex"Download ruff 0.12.4
View the full release notes at https://github.com/astral-sh/ruff/releases/tag/0.12.4.