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

Display diffs for `ruff format --check` and add support for different output formats

#20443Merged
Comparing
brent/formatter-diagnostics
(
bedfc6f
) with
main
(
b483d3b
)
CodSpeed Performance Gauge
-1%
Archived
9

Benchmarks

9 total
large[sympy]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
0%
42.5 s42.5 s
medium[pandas]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
0%
33.9 s34 s
multithreaded[pydantic]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
+2%
298.5 ms291.9 ms
small[altair]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
-1%
2.6 s2.6 s
medium[static-frame]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
0%
8.9 s8.9 s
medium[colour-science]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
0%
10.6 s10.6 s
small[tanjun]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
-1%
1.7 s1.7 s
small[pydantic]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
0%
2.5 s2.5 s
small[freqtrade]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
-1%
9.2 s9.3 s

Commits

Click on a commit to change the comparison range
Base
main
b483d3b
-0.8%
add error tests, set_file_level, and improve panic formatting
959f55a
5 months ago
by ntBre
+1.63%
file_level -> hide_snippet
519b6fa
5 months ago
by ntBre
-0.88%
fix range narrowing for strict prefixes
6a72314
5 months ago
by ntBre
-0.91%
only restrict the end of the script line counting
bf48b9b
5 months ago
by ntBre
+0.41%
use loop for prefix_length too, use guarded break for suffix
bedfc6f
5 months ago
by ntBre
© 2026 CodSpeed Technology
Home Terms Privacy Docs