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

[`ruff`] Fix for `RUF102` should delete entire comment

#23380Merged
Comparing
amy/ruf102-reasons
(
824c265
) with
main
(
c66e3dd
)
CodSpeed Performance Gauge
0%
Untouched
30
Skipped
24

Benchmarks

24 total
pandas
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
80.9 s*
tanjun
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
2.8 s*
altair
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
4.9 s*
colour_science
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
131.7 s*
freqtrade
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
9.1 s*
multithreaded
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
1.2 s*
pydantic
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
7.4 s*
sympy
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
70.9 s*
static_frame
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
30.9 s*
DateType
crates/ruff_benchmark/benches/ty.rs::project::datetype::project
Skipped
210.8 ms*
attrs
crates/ruff_benchmark/benches/ty.rs::project::attrs::project
Skipped
477.1 ms*
hydra-zen
crates/ruff_benchmark/benches/ty.rs::project::hydra::project
Skipped
1.3 s*
ty_micro[complex_constrained_attributes_3]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_3
Skipped
73.4 ms*
ty_micro[complex_constrained_attributes_2]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_2
Skipped
67.7 ms*
ty_check_file[incremental]
crates/ruff_benchmark/benches/ty.rs::check_file::benchmark_incremental
Skipped
8 ms*
ty_micro[many_tuple_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_tuple_implicit_instance_attributes
Skipped
67.5 ms*
ty_micro[many_enum_members]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_enum_members
Skipped
126.9 ms*
ty_micro[many_tuple_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_tuple_assignments
Skipped
65.5 ms*
ty_micro[complex_constrained_attributes_1]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_1
Skipped
67.8 ms*
ty_micro[many_enum_members_2]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_enum_members_2
Skipped
157.2 ms*
ty_micro[many_string_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_string_assignments
Skipped
77.5 ms*
ty_check_file[cold]
crates/ruff_benchmark/benches/ty.rs::check_file::benchmark_cold
Skipped
146.9 ms*
anyio
crates/ruff_benchmark/benches/ty.rs::project::anyio::project
Skipped
1.2 s*
ty_micro[very_large_tuple]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_very_large_tuple
Skipped
69 ms*

Commits

Click on a commit to change the comparison range
Base
main
c66e3dd
+0.03%
Delete entire comment for RUF102 suggested fix
e39cc95
2 months ago
by amyreese
0%
Update snapshots
2673836
2 months ago
by amyreese
+0.15%
Added test case
824c265
2 months ago
by amyreese
© 2026 CodSpeed Technology
Home Terms Privacy Docs