astral-sh
ruff
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
[ty] Add diagnostics to validate `TypeIs` and `TypeGuard` definitions (#22300) ## Summary Closes https://github.com/astral-sh/ty/issues/2267.
main
6 minutes ago
Add more fast-paths
charlie/neg
8 minutes ago
Add neg
charlie/neg
20 minutes ago
[ty] Apply narrowing to walrus targets (#22369) ## Summary Closes https://github.com/astral-sh/ty/issues/2300.
main
34 minutes ago
[ty] Apply narrowing to walrus targets
charlie/narorw
35 minutes ago
[ty] Use "typeguard constraints" for two kinds of tuple narrowing (#22348) ## Summary Since we've already filtered the union in these locations, it seems like needless overhead to then intersect the previous union with the filtered union. We know what that intersection will simplify to: it will simplify to the filtered union. So rather than using a regular intersection-based constraint, we can use a "typeguard constraint", which will just directly replace the previous type with the new type instead of creating an intersection. ## Test Plan - Existing tests all pass - The primer report should be clean
main
2 hours ago
micro-optimize more
alex/tgard-narrow
2 hours ago
Catch non-types
charlie/functional-namedtuple
2 hours ago
Active Branches
[ty] Avoid false positive for `not-iterable` with no-positive intersection types
last run
8 minutes ago
#22089
CodSpeed Performance Gauge
-29%
[ty] Add support for functional `namedtuple` creation
last run
2 hours ago
#22327
CodSpeed Performance Gauge
0%
Skip walking all tokens when loading range suppressions
last run
2 hours ago
#22446
CodSpeed Performance Gauge
0%
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs