astral-sh
ruff
BlogDocsChangelog

[ty] Don't add incorrect subdiagnostic for unresolved reference

#18487Merged
Comparing
MatthewMckee4:incorrect-subdiagnostic-for-unresolved-reference
(
ba648f9
) with
main
(
57bd7d0
)
CodSpeed Performance Gauge
0%
Untouched
6
Archived
2

Benchmarks

Passed

medium[colour-science]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
0%
9 s8.9 s
large[sympy]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
0%
53.9 s53.8 s
medium[pandas]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
0%
34.6 s34.6 s
small[tanjun]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
0%
2 s2 s
small[freqtrade]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
0%
4.7 s4.7 s
small[altair]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
0%
3.1 s3.1 s

Commits

Click on a commit to change the comparison range
Base
main
57bd7d0
-0.02%
Dont add subdiagnostic for unresolved reference in staticmethod, and change message for classmethod
7da74c3
5 months ago
by MatthewMckee4
0%
Use class_context
1ac9d1a
5 months ago
by MatthewMckee4
-4.38%
Update snapshot
cefcb63
5 months ago
by MatthewMckee4
0%
Merge branch 'main' into incorrect-subdiagnostic-for-unresolved-reference
bb48d57
5 months ago
by MatthewMckee4
0%
Add lifetime
09f7f27
5 months ago
by MatthewMckee4
+4.36%
Fix tests
cf3b2c2
5 months ago
by MatthewMckee4
+0.01%
Use first argument in diagnostic
348cd5a
5 months ago
by MatthewMckee4
+0.03%
Merge branch 'main' into incorrect-subdiagnostic-for-unresolved-reference * main: (71 commits) Bump 0.12.0 (#18724) Revert "[ty] Offer "Did you mean...?" suggestions for unresolved `from` imports and unresolved attributes (#18705)" (#18721) [`flake8-return`] Stabilize only add `return None` at the end when fixing `implicit-return` (`RET503`) (#18516) [`pyupgrade`] Stabilize `non-pep695-generic-function` (`UP047`) (#18524) [`pyupgrade`] Stabilize `non-pep695-generic-class` (`UP046`) (#18519) [`pandas-vet`] Deprecate `pandas-df-variable-name` (`PD901`) (#18618) [`flake8-bandit`] Remove `suspicious-xmle-tree-usage` (`S320`) (#18617) Stabilize `dataclass-enum` (`RUF049`) (#18570) Stabilize `unnecessary-dict-index-lookup` (`PLR1733`) (#18571) Remove rust-toolchain.toml from sdist (#17925) Stabilize `starmap-zip` (`RUF058`) (#18525) [`flake8-logging`] Stabilize `exc-info-outside-except-handler` (`LOG014`) (#18517) [`pyupgrade`] Stabilize `non-pep604-annotation-optional` (`UP045`) and preview behavior for `non-pep604-annotation-union` (`UP007`) (#18505) Stabilize `pytest-warns-too-broad` (`PT030`) (#18568) Stabilize `for-loop-writes` (`FURB122`) (#18565) Stabilize `pytest-warns-with-multiple-statements` (`PT031`) (#18569) Stabilize `pytest-parameter-with-default-argument` (`PT028`) (#18566) Stabilize `nan-comparison` (`PLW0177`) (#18559) Stabilize `check-and-remove-from-set` (`FURB132`) (#18560) Stabilize `unnecessary-round` (`RUF057`) (#18563) ...
bef7491
5 months ago
by carljm
0%
Adjust some test prose and a docstring
410c137
5 months ago
by carljm
0%
Code cleanup
d77a965
5 months ago
by carljm
-0.47%
Merge branch 'main' into incorrect-subdiagnostic-for-unresolved-reference
c30c744
5 months ago
by MatthewMckee4
+0.48%
Merge branch 'main' into incorrect-subdiagnostic-for-unresolved-reference
eb32858
5 months ago
by AlexWaygood
+0.39%
avoid `file_expression_type` where unnecessary
9e9b744
5 months ago
by AlexWaygood
-0.38%
simplifications
ba648f9
5 months ago
by AlexWaygood
© 2025 CodSpeed Technology
Home Terms Privacy Docs