[CI][RFC] Replace black-jupyter with ruff-format (#37210)
Co-authored-by: Alison Shao <a.shao@wustl.edu>
This commit is contained in:
co-authored by
Alison Shao
parent
2641e427be
commit
28262c20df
@@ -84,7 +84,7 @@ def update_others_index(
|
||||
return False
|
||||
|
||||
index_dir.mkdir(parents=True, exist_ok=True)
|
||||
updated = f"{OTHERS_HEADER}{entry}{content[len(OTHERS_HEADER):]}"
|
||||
updated = f"{OTHERS_HEADER}{entry}{content[len(OTHERS_HEADER) :]}"
|
||||
index_path.write_text(updated, encoding="utf-8")
|
||||
return True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user