[CI][RFC] Replace black-jupyter with ruff-format (#37210)

Co-authored-by: Alison Shao <a.shao@wustl.edu>
This commit is contained in:
Alex Nails
2026-09-02 19:46:08 -07:00
committed by GitHub
co-authored by Alison Shao
parent 2641e427be
commit 28262c20df
1411 changed files with 7766 additions and 8176 deletions
+2 -3
View File
@@ -95,7 +95,7 @@ def update_files(model, dry_run=False):
new_content = pattern.sub(rf"\g<1>{p90}\3", new_content)
changes.append((relpath, suite, old_val, p90))
print(
f" {relpath}: suite={suite!r} " f"est_time {old_val} -> {p90}",
f" {relpath}: suite={suite!r} est_time {old_val} -> {p90}",
file=sys.stderr,
)
break # one (file, suite) -> at most one register call
@@ -121,8 +121,7 @@ def write_summary(changes, summary_file):
lines = []
if sig:
lines.append(
f"### Significant est_time changes "
f"({len(sig)} of {len(changes)} updates)"
f"### Significant est_time changes ({len(sig)} of {len(changes)} updates)"
)
lines.append("")
lines.append("| File | Suite | Old (s) | New (s) | Δ |")