Skip to content

Commit 8c73b49

Browse files
committed
test(docs[sphinx_fonts]): apply ruff format to test_sphinx_fonts
why: CI ruff format check fails on multi-line function call formatting. what: - Apply ruff format to test_sphinx_fonts.py
1 parent e2afa39 commit 8c73b49

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

tests/docs/_ext/test_sphinx_fonts.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,11 @@ def test_on_html_page_context_with_attrs() -> None:
424424
context: dict[str, t.Any] = {}
425425

426426
sphinx_fonts._on_html_page_context(
427-
app, "index", "page.html", context, None # type: ignore[arg-type]
427+
app,
428+
"index",
429+
"page.html",
430+
context,
431+
None, # type: ignore[arg-type]
428432
)
429433

430434
assert context["font_preload_hrefs"] == ["font-400.woff2"]
@@ -439,7 +443,11 @@ def test_on_html_page_context_without_attrs() -> None:
439443
context: dict[str, t.Any] = {}
440444

441445
sphinx_fonts._on_html_page_context(
442-
app, "index", "page.html", context, None # type: ignore[arg-type]
446+
app,
447+
"index",
448+
"page.html",
449+
context,
450+
None, # type: ignore[arg-type]
443451
)
444452

445453
assert context["font_preload_hrefs"] == []

0 commit comments

Comments
 (0)