Skip to content

Commit

Permalink
Move a 'type: ignore' comment, for mypy (#812)
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdnyc committed Jul 7, 2024
1 parent cefbdc0 commit 073c497
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/furo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,8 +308,8 @@ def update_known_styles_state(app: sphinx.application.Sphinx) -> None:
def _get_light_style(app: sphinx.application.Sphinx) -> Style:
# fmt: off
# For https://github.com/psf/black/issues/3869
return (
app # type: ignore[no-any-return]
return ( # type: ignore[no-any-return]
app
.builder
.highlighter # type: ignore[attr-defined]
.formatter_args["style"]
Expand Down

0 comments on commit 073c497

Please sign in to comment.