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
57

Benchmarks

57 total
colour_science
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
42.7 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*
freqtrade
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
7.9 s*
multithreaded
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
1.1 s*
pydantic
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
7.7 s*
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*
hydra-zen
crates/ruff_benchmark/benches/ty.rs::project::hydra::project
Skipped
1.1 s*
attrs
crates/ruff_benchmark/benches/ty.rs::project::attrs::project
Skipped
473.3 ms*
DateType
crates/ruff_benchmark/benches/ty.rs::project::datetype::project
Skipped
220 ms*
attrs
crates/ruff_benchmark/benches/ty.rs::project::attrs::project
Skipped
42.8 MB*
DateType
crates/ruff_benchmark/benches/ty.rs::project::datetype::project
Skipped
26.4 MB*
hydra-zen
crates/ruff_benchmark/benches/ty.rs::project::hydra::project
Skipped
71.9 MB*
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[pandas_tdd]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_pandas_tdd
Skipped
238.6 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*

Commits

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