astral-sh
ruff
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
Revert "Discard changes to crates/ruff_linter/src/checkers/ast/analyze/expression.rs" This reverts commit a011b2e7f3a304bc1e9092bc412b4a1883671e8f.
Acelogic:fix/naming-rules-match-patterns
5 seconds ago
Replace most usages
dhruv/callable-type-of-regression
6 minutes ago
Try a third implementation
charlie/recursive-type
38 minutes ago
Suppress PLE2510 fix inside f-string interpolation for Python < 3.12 #18816 caused the PLE2510 autofix to introduce syntax errors when replacing control characters with escape sequences inside f-string interpolation expressions. In Python < 3.12, backslash escapes are not allowed inside f-string `{...}` (PEP 701 lifted this in 3.12). Fixed by tracking f-string/t-string interpolation nesting via a brace-depth stack in the token loop, then suppressing the fix (not the diagnostic) when the token is inside an interpolation and the target version doesn't support PEP 701. Closes #18816
omar-y-abdi:fix/18816-ple2510-fstring-syntax-error
1 hour ago
[ty] Ensure a `type[]` type `T` is always considered assignable to a union that holds `T` and a protocol `P` (#23901)
main
1 hour ago
moar comments
unsound-upcast-2
1 hour ago
Revert changes to empty-body diagnostic
charlie/unreachable
2 hours ago
Fix lambda body formatting for multiline calls and subscripts (#23866) ## Summary This PR fixes https://github.com/astral-sh/ruff/issues/23851 by expanding the special case for fluent call chains that previously used `parenthesize_if_expands` to include any calls or subscripts with `OptionalParentheses::Multiline`. The minimal change is in the third commit (just swapping out the fluent chain check for `matches!(needs_parentheses, OptionalParentheses::Multiline)`), but then I reordered the conditional branches in a way that seemed to make more sense. ## Test Plan New tests based on the issue
main
2 hours ago
Active Branches
Add `RegularCallableTypeOf` and `into_regular_callable` in `ty_extensions`
last run
6 minutes ago
#23909
CodSpeed Performance Gauge
0%
[ty] Fix overflow with recursive `TypeIs`
last run
38 minutes ago
#23784
CodSpeed Performance Gauge
0%
Suppress PLE2510 fix inside f-string interpolation for Python < 3.12
last run
1 hour ago
#23910
CodSpeed Performance Gauge
0%
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs