Avatar for the astral-sh user
astral-sh
ruff
BlogDocsChangelog

Performance History

Latest Results

Replace is_module_binding heuristic with multi-candidate matching Addresses dylwil3's review on apache/airflow regression where `raise rich_click.ClickException(...)` reported `rich_click` instead of `ClickException`. The previous fix's `is_module_binding` helper only recognized `Import` and `SubmoduleImport` bindings, missing the `FromImport` case (`from urllib import error as url_error`). This produced false positives on documented exceptions and wrong diagnostic names. Replace the custom unwrapping loop with the standard `map_callable + resolve_qualified_name` pattern used elsewhere in ruff. For chained method calls, peel down to the inner-most call first. For ambiguous `X.method(...)` forms — where AST can't tell classmethod constructor from module attribute — push an extra candidate with the trailing segment trimmed so the docstring matcher accepts either interpretation. For diagnostic display, pick the trimmed name when the head binds to a `Builtin` or `ClassDefinition` (definitively a class), otherwise use the full name. Adds fixtures for the from-imported module case to cover the regression dylwil3 surfaced.
bxff:investigate/doc501-classmethod-exception
3 hours ago
Another fix
charlie/small-fixes
6 hours ago
Refactor decorator-preserving folding for code reuse
lerebear/push-ouwoxyvtlyks
6 hours ago
Apply review fixes
charlie/loop-constraints-test
7 hours ago
[ty] Experiment with improving reachability performance
charlie/loop-constraints-test
7 hours ago
[ty] Experiment with improving reachability performance
charlie/loop-constraints-test
8 hours ago
Fix conformance
charlie/type-validation
8 hours ago
[ty] Experiment with improving reachability performance
charlie/loop-constraints-test
8 hours ago

Latest Branches

CodSpeed Performance Gauge
0%
[pydoclint] Fix false positive for exceptions raised via classmethods and chained calls (DOC501, DOC502)#23637
3 hours ago
ec42d1a
bxff:investigate/doc501-classmethod-exception
CodSpeed Performance Gauge
×4.1
6 hours ago
ec4d3e9
charlie/small-fixes
CodSpeed Performance Gauge
0%
© 2026 CodSpeed Technology
Home Terms Privacy Docs