Skip to content

Commit c37e849

Browse files
committed
Quote a not-runtime-generic type annotation
1 parent 9cfdf44 commit c37e849

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/furo/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ def _get_dark_style(app: sphinx.application.Sphinx) -> Style:
292292
return cast(Style, PygmentsBridge("html", dark_style).formatter_args["style"])
293293

294294

295-
def _get_styles(formatter: HtmlFormatter[str], *, prefix: str) -> Iterator[str]:
295+
def _get_styles(formatter: "HtmlFormatter[str]", *, prefix: str) -> Iterator[str]:
296296
"""Get styles out of a formatter, where everything has the correct prefix."""
297297
for line in formatter.get_linenos_style_defs(): # type: ignore[no-untyped-call]
298298
yield f"{prefix} {line}"

0 commit comments

Comments
 (0)