Skip to content

Commit

Permalink
Quote a not-runtime-generic type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
pradyunsg committed Sep 9, 2023
1 parent 9cfdf44 commit c37e849
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/furo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def _get_dark_style(app: sphinx.application.Sphinx) -> Style:
return cast(Style, PygmentsBridge("html", dark_style).formatter_args["style"])


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

0 comments on commit c37e849

Please sign in to comment.