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

[`ruff`] Document false negative for user-defined types (`RUF013`)

#25289Merged
Comparing
adityasingh2400:docs-ruf013-custom-type-limitation
(
7aef17a
) with
main
(
425d4f0
)
CodSpeed Performance Gauge
0%
Untouched
60
Skipped
51

Benchmarks

51 total
ty_check_file[incremental]
crates/ruff_benchmark/benches/ty.rs::check_file::benchmark_incremental
Skipped
8 ms*
ty_micro[complex_constrained_attributes_1]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_1
Skipped
70.6 ms*
ty_micro[complex_constrained_attributes_2]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_2
Skipped
70.1 ms*
ty_micro[complex_constrained_attributes_3]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_3
Skipped
76.7 ms*
ty_check_file[cold]
crates/ruff_benchmark/benches/ty.rs::check_file::benchmark_cold
Skipped
149.5 ms*
ty_micro[many_tuple_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_tuple_implicit_instance_attributes
Skipped
70.1 ms*
ty_micro[gradual_vararg_call]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_gradual_vararg_call
Skipped
70.9 ms*
ty_micro[typeis_narrowing]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_typeis_narrowing
Skipped
192.7 ms*
anyio
crates/ruff_benchmark/benches/ty.rs::project::anyio::project
Skipped
1.2 s*
ty_micro[large_isinstance_narrowing]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_large_isinstance_narrowing
Skipped
149.7 ms*
ty_micro[large_union_narrowing]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_large_union_narrowing
Skipped
533.7 ms*
ty_micro[vararg_parameter_type_accumulation]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_vararg_parameter_type_accumulation
Skipped
60.1 ms*
ty_micro[many_enum_members]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_enum_members
Skipped
95.2 ms*
ty_micro[very_large_tuple]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_very_large_tuple
Skipped
72.2 ms*
ty_micro[many_enum_members_2]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_enum_members_2
Skipped
91.5 ms*
ty_micro[many_protocol_members_mismatch]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_protocol_members_mismatch
Skipped
360.3 ms*
ty_micro[many_string_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_string_assignments
Skipped
80.8 ms*
ty_micro[many_tuple_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_tuple_assignments
Skipped
62.4 ms*
sympy
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
65.4 s*
static_frame
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
21.2 s*
tanjun
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
3 s*
altair
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
4.7 s*
pandas
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
62.6 s*
ty_micro[many_enum_members]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_enum_members
Skipped
18.5 MB*
ty_micro[typeis_narrowing]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_typeis_narrowing
Skipped
23.3 MB*

Commits

Click on a commit to change the comparison range
Base
main
425d4f0
0%
[`ruff`] Document RUF013 false negative for user-defined types
7d29b2e
5 months ago
by adityasingh2400
0%
Reformat RUF013 example block and drop em dashes from docstring prose
d99998d
5 months ago
by adityasingh2400
0%
Trim RUF013 limitation example per review
7aef17a
5 months ago
by adityasingh2400
© 2026 CodSpeed Technology
Home Terms Privacy Docs