astral-sh
ruff
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
Sync interpolated lexer state within `re_lex_logical_token`
micha/relex-interpolated-state
2 minutes ago
[ty] default-specialize class-literal types in assignment to generic-alias types (#21883) Fixes https://github.com/astral-sh/ty/issues/1832, fixes https://github.com/astral-sh/ty/issues/1513 ## Summary A class object `C` (for which we infer an unspecialized `ClassLiteral` type) should always be assignable to the type `type[C]` (which is default-specialized, if `C` is generic). We already implemented this for most cases, but we missed the case of a generic final type, where we simplify `type[C]` to the `GenericAlias` type for the default specialization of `C`. So we also need to implement this assignability of generic `ClassLiteral` types as-if default-specialized. ## Test Plan Added mdtests that failed before this PR. --------- Co-authored-by: David Peter <mail@david-peter.de>
main
2 minutes ago
Two more tests
cjm/unspecassign
20 minutes ago
clippy
dcreager/fix-intersection-bug
21 minutes ago
move preview comment handling mostly into placement.rs
brent/indent-lambda-params
1 hour ago
Skip over trivia tokens after re-lexing
micha/parser-trivia-relex
2 hours ago
Skip over trivia tokens after re-lexing
micha/parser-trivia-relex
2 hours ago
Add test for #1513
cjm/unspecassign
2 hours ago
Active Branches
[ty] Fix negation upper bounds in constraint sets
last run
21 minutes ago
#21897
CodSpeed Performance Gauge
0%
Keep lambda parameters on one line and parenthesize the body if it expands
last run
1 hour ago
#21385
CodSpeed Performance Gauge
0%
Skip over trivia tokens after re-lexing
last run
2 hours ago
#21895
CodSpeed Performance Gauge
0%
© 2025 CodSpeed Technology
Home
Terms
Privacy
Docs