astral-sh
ruff
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
[ty] Lazily build TypeVar accumulations
charlie/typevar-ii
50 minutes ago
[ty] Infer dict(**TypedDict) in TypedDict context
charlie/unpack-dict
55 minutes ago
pub for docs
brent/mdtest-run
1 hour ago
[ty] Add benchmarks for TypeVar accumulation
charlie/typevar-i
1 hour ago
[ty] Support `**` unpacking of `TypedDict` in dict-literal assignments (#24703) ## Summary We already support `**` unpacking of `TypedDict` in named `TypedDict` constructors; this PR extends it to literals annotated as `TypedDict`, as in: ```python from typing import TypedDict class MyTypedDict1(TypedDict): aaa: int bbb: int class MyTypedDict2(TypedDict): aaa: int bbb: int ccc: int d1: MyTypedDict1 = { "aaa": 1, "bbb": 2, } d2: MyTypedDict2 = { **d1, "ccc": 3, } ``` Closes https://github.com/astral-sh/ty/issues/1493
main
1 hour ago
more visibility fixes
brent/mdtest-run
1 hour ago
[ty] Add error context for TypedDict assignments
david/typeddict-context
1 hour ago
fix(linter): suppress FURB122 fix when walrus operator rebinds loop variable When the argument to `.write()` in a for-loop contains a walrus operator (:=) whose target is one of the for-loop's iteration variables, the FURB122 fix would generate an invalid comprehension. For example: for line in src: dst.write(line := line.upper()) would be transformed to: dst.writelines(line := line.upper() for line in src) which is a SyntaxError because the walrus operator cannot rebind a comprehension iteration variable. Suppress the fix in such cases by detecting walrus operators in the write argument whose targets match any for-loop binding names. Closes: astral-sh/ruff#21107
hijingsong:clawoss/fix/furb122-walrus-rebinding
2 hours ago
Latest Branches
CodSpeed Performance Gauge
×13
[ty] Lazily build TypeVar accumulations
#24782
1 hour ago
7fc9c3a
charlie/typevar-ii
CodSpeed Performance Gauge
0%
[ty] Infer `dict(**TypedDict)` in `TypedDict` context
#24709
4 days ago
c15a2b6
charlie/unpack-dict
CodSpeed Performance Gauge
0%
Factor out more mdtest helpers
#24754
1 hour ago
61c2a49
brent/mdtest-run
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs