astral-sh
ruff
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
[ty] Compact retained definition inference extras (#25838) ## Summary Most retained `DefinitionInference` values need only one or two fields from `DefinitionInferenceExtra`, but currently allocate the full structure. This specializes the common shapes into compact enum variants and keeps the existing structure as a fallback for uncommon combinations. Based on the measured shape distribution, this is expected to reduce retained memory by about 789 MB, or 0.78%, on the large-repository workload used for this investigation.
main
2 minutes ago
Render Markdown for reST fields in docstrings on hover
lerebear/push-ypywzttpymvv
35 minutes ago
[ty] Check extra items for contextual keyword splats
charlie/keyword-context
44 minutes ago
[ty] Document compact definition inference extras
charlie/compact-definition-inference-extras
46 minutes ago
Render Markdown for reST fields in docstrings on hover
lerebear/push-ypywzttpymvv
54 minutes ago
Route reST parameter documentation through formats
lerebear/push-nupplxxoruqz
55 minutes ago
[ty] Report redefined legacy TypeVars (#25854) ## Summary The `invalid-legacy-type-variable` rule already validates the assignment shape and declared name, but it did not report when a name had already been defined in the same scope: ```python from typing import TypeVar T = TypeVar("T") T = TypeVar("T") # error: invalid-legacy-type-variable ``` The diagnostic points back to the preceding definition and considers earlier bindings and declarations that are reachable from the beginning of the owning scope. The implementation reuses the existing per-place use-def snapshot and reachability predicates, so it only inspects definitions of the target name rather than scanning every definition in the scope. Closes https://github.com/astral-sh/ty/issues/3732.
main
55 minutes ago
[ty] Report redefined legacy TypeVars
charlie/fix-redefined-typevar
57 minutes ago
Latest Branches
CodSpeed Performance Gauge
-5%
[ty] Render Markdown for reStructuredText fields in docstrings on hover.
#25903
6 hours ago
60736c0
lerebear/push-ypywzttpymvv
CodSpeed Performance Gauge
0%
[ty] Add type context for `**kwargs`
#25075
1 hour ago
8301bd0
charlie/keyword-context
CodSpeed Performance Gauge
0%
[ty] Compact retained definition inference extras
#25838
54 minutes ago
93a641b
charlie/compact-definition-inference-extras
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs