astral-sh
ruff
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
[ty] Surface matched overload diagnostic directly
dhruv/matched-overload-diagnostic
26 minutes ago
[ty] Add tests for empty list/tuple unpacking (#18451) ## Summary This PR is to address this comment: https://github.com/astral-sh/ruff/pull/18438#issuecomment-2935344415 ## Test Plan Run mdtest
main
1 hour ago
Simplify B909 fix by skipping expression traversal in return/break statements
K-dash:fix/b909-false-positive-return-mutation
2 hours ago
[ty] Argument type expansion for overload call evaluation (#18382) ## Summary Part of astral-sh/ty#104, closes: astral-sh/ty#468 This PR implements the argument type expansion which is step 3 of the overload call evaluation algorithm. Specifically, this step needs to be taken if type checking resolves to no matching overload and there are argument types that can be expanded. ## Test Plan Add new test cases. ## Ecosystem analysis This PR removes 174 `no-matching-overload` false positives -- I looked at a lot of them and they all are false positives. One thing that I'm not able to understand is that in https://github.com/sphinx-doc/sphinx/blob/2b7e3adf27c158305acca9b5e4d0d93d3e4c6f09/sphinx/ext/autodoc/preserve_defaults.py#L179 the inferred type of `value` is `str | None` by ty and Pyright, which is correct, but it's only ty that raises `invalid-argument-type` error while Pyright doesn't. The constructor method of `DefaultValue` has declared type of `str` which is invalid. There are few cases of false positives resulting due to the fact that ty doesn't implement narrowing on attribute expressions.
main
2 hours ago
Replace one usage of `itertools::Either`
dhruv/argument-type-expansion
2 hours ago
update to salsa that doesn't panic silently on cycles
cjm/salsa-cycle-panic
3 hours ago
Suggests subdiagnostic for both class and instance attributes
lipefree:suggest-self
8 hours ago
delete Message::to_rule
brent/remove-to-rule
9 hours ago
Active Branches
[ty] Surface matched overload diagnostic directly
last run
26 minutes ago
#18452
CodSpeed Performance Gauge
0%
Fix false positive in for mutations in return statements (B909)
last run
2 hours ago
#18408
CodSpeed Performance Gauge
0%
update to salsa that doesn't panic silently on cycles
last run
3 hours ago
#18450
CodSpeed Performance Gauge
0%
© 2025 CodSpeed Technology
Home
Terms
Privacy
Docs