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

Fix panic when formatting comments in unary expressions

#21410Closed
Comparing
brent/format-unary-comment
(
fc51368
) with
main
(
d63b4b0
)
CodSpeed Performance Gauge
0%
Untouched
30
Skipped
13
Archived
9

Benchmarks

13 total
ty_micro[complex_constrained_attributes_3]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_3
Skipped
69.9 ms*
ty_micro[complex_constrained_attributes_1]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_1
Skipped
69.8 ms*
ty_micro[complex_constrained_attributes_2]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_2
Skipped
69.6 ms*
ty_check_file[incremental]
crates/ruff_benchmark/benches/ty.rs::check_file::benchmark_incremental
Skipped
6.3 ms*
hydra-zen
crates/ruff_benchmark/benches/ty.rs::project::hydra::project
Skipped
1 s*
attrs
crates/ruff_benchmark/benches/ty.rs::project::attrs::project
Skipped
442.8 ms*
ty_check_file[cold]
crates/ruff_benchmark/benches/ty.rs::check_file::benchmark_cold
Skipped
135 ms*
anyio
crates/ruff_benchmark/benches/ty.rs::project::anyio::project
Skipped
1.1 s*
ty_micro[many_enum_members]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_enum_members
Skipped
93.8 ms*
ty_micro[many_tuple_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_tuple_assignments
Skipped
65.8 ms*
ty_micro[many_string_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_string_assignments
Skipped
76.4 ms*
ty_micro[many_tuple_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_tuple_implicit_instance_attributes
Skipped
66.8 ms*
DateType
crates/ruff_benchmark/benches/ty.rs::project::datetype::project
Skipped
233.1 ms*

Commits

Click on a commit to change the comparison range
Base
main
d63b4b0
+0.02%
Revert "try only dangling"
f49fda3
3 months ago
by ntBre
-0.04%
update handle_unary_op_comment docs
fc51368
3 months ago
by ntBre
© 2026 CodSpeed Technology
Home Terms Privacy Docs