Skip to content

Commit

Permalink
Fix static type check
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasehrlich committed May 4, 2024
1 parent 3b66845 commit fdd91bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sphinxcontrib/lightbox2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import pathlib
import posixpath
import urllib.parse
from typing import Generic, TypeVar
from typing import Any, Generic, TypeVar

from docutils import nodes
from sphinx.application import Sphinx
Expand Down Expand Up @@ -54,7 +54,7 @@ def js_config_name(self) -> str:
return snake_to_camel(self.name)


CONFIG_OPTIONS = (
CONFIG_OPTIONS: tuple[Lightbox2ConfigOption[Any], ...] = (
Lightbox2ConfigOption("always_show_nav_on_touch_devices", False),
Lightbox2ConfigOption("album_label", "Image %1 of %2"),
Lightbox2ConfigOption("disable_scrolling", False),
Expand Down

0 comments on commit fdd91bf

Please sign in to comment.