[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
+3 -3
View File
@@ -187,9 +187,9 @@ def test_no_unordered_container_reaches_the_key(monkeypatch):
_build_key()
def walk(value, path="parts"):
assert not isinstance(
value, (set, frozenset, dict)
), f"unordered container at {path}: {type(value).__name__}"
assert not isinstance(value, (set, frozenset, dict)), (
f"unordered container at {path}: {type(value).__name__}"
)
if isinstance(value, (list, tuple)):
for index, item in enumerate(value):
walk(item, f"{path}[{index}]")