astral-sh
ruff
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
[ty] Keep negative tuple protocol intersections symbolic
charlie/pattern-match-intersection-builder
9 minutes ago
Add star support; clean up tests
charlie/pattern-match
13 minutes ago
[ty] Avoid retaining duplicate function signatures
charlie/compact-function-signatures
13 minutes ago
[ty] Compact retained definition and expression identities
charlie/compact-definition-scope
13 minutes ago
[ty] Compact retained definition kinds
charlie/compact-definition-kind
14 minutes ago
[ty] Fix Reporter doc comment placement
codex/reporter-doc-comment
16 minutes ago
[ty] Error context for not-iterable diagnostics (#24944) ## Summary The iteration protocol (lowercase) is pretty complex, which is why we cannot simply check if something is iterable by trying assignability to some Protocol (uppercase). But in some cases, something is not iterable because it doesn't follow the semantics of the normal `Iterable` Protocol (again, uppercase). In those cases, we can use the existing error context machinery to provide more information about why something is not iterable. One complication here is that the `typing.Iterable`/`typing.Iterator` hierarchy in typeshed wants an `__iter__` method on `Iterator`(!), which is [mandated](https://docs.python.org/3/glossary.html#term-iterator) by iterator protocol (lowercase), but often not provided in practice. Here, we solve this by adding new variants of these protocols in `ty_extensions` for the sole purpose of generating these assignability error context trees. ## Test Plan New and updated Markdown tests
main
28 minutes ago
WIP: validating dataclass field defaults
cjm/dc
28 minutes ago
Latest Branches
CodSpeed Performance Gauge
0%
[ty] Simplify tuple intersections with finite indexed protocols
#25599
2 hours ago
069c57e
charlie/pattern-match-intersection-builder
CodSpeed Performance Gauge
0%
[ty] Add support for narrowing on tuple match cases
#25493
21 minutes ago
5be0138
charlie/pattern-match
CodSpeed Performance Gauge
0%
[ty] Avoid retaining duplicate function signatures
#25609
23 minutes ago
2565513
charlie/compact-function-signatures
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs