astral-sh
ruff
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
[ty] Use incremental file walk on `.gitignore` change (#25183)
main
40 minutes ago
pin to latest
brent/unpin-shear
48 minutes ago
[ty] add a lint rule to detect redundant assert statements
InvalidPathException:main
50 minutes ago
[ty] add a lint rule to detect redundant assert statements
InvalidPathException:main
1 hour ago
Add mdtests for Ruff (#24617) Summary -- This PR adds the `ruff_test` crate, a parallel crate to `ty_test` for Ruff, to enable the new mdtests in `ruff_linter`. I opted to follow the `Db`-based structure of `ty_test` to simplify the integration, but we end up basically just unpacking the files from the `Db` to call the `test_contents` function from the linter. I also updated the section of the contributing guidelines on lint rule testing to suggest using mdtests. Test Plan -- I copied over the S704 tests into a new mdtest. I selected this rule because it had several separate fixture files that all used different settings and each of the fixtures was relatively short. I had initially reached for a more complicated rule (UP046), but this seemed less likely to clutter the diff while still exercising most mdtest features. --------- Co-authored-by: Micha Reiser <micha@reiser.io>
main
1 hour ago
Initial pass
charlie/enum-value
1 hour ago
Unpin cargo-shear Summary -- This reverts commit 88289f00d45fa78c60d355a51c609d290df01743 now that v1.12.1 should be out with the fix to https://github.com/Boshen/cargo-shear/issues/497 included. Test Plan -- CI on this PR
brent/unpin-shear
1 hour ago
[ty] Preserve short-circuit bindings in all condition consumers (#25160) ## Summary We already compute precise truthy and falsy flow snapshots for short-circuiting boolean expressions, so walrus bindings are only visible on paths where the right-hand side actually ran. Prior to this change, we mostly used those snapshots for `if` conditions, and not (e.g.) in the following case: ```python def f(flag: bool): assert flag and (x := 1) reveal_type(x) ``` This PR generalizes that logic into condition-flow snapshots and applies it anywhere we evaluate a condition before continuing under its truthy or falsy outcome: `assert`, `while`, `match` guards, conditional expressions, and comprehension filters.
main
1 hour ago
Latest Branches
CodSpeed Performance Gauge
0%
Unpin cargo-shear
#25218
53 minutes ago
ac29e60
brent/unpin-shear
CodSpeed Performance Gauge
0%
[ty] add a lint rule to detect redundant assert statements
#25204
1 day ago
b6ff92e
InvalidPathException:main
CodSpeed Performance Gauge
0%
[ty] View ecosystem results for member lookup
#25219
1 hour ago
66482a6
charlie/enum-value
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs