Skip to content

Commit

Permalink
update type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
spacemanspiff2007 committed Nov 15, 2024
1 parent 3653fd4 commit c03f346
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sphinx_exec_code/configuration/base.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from __future__ import annotations

from typing import TYPE_CHECKING, Any, Final, Generic, TypeVar
from typing import TYPE_CHECKING, Any, Final, Generic, Type, TypeVar

from sphinx.errors import ConfigError

Expand All @@ -15,7 +15,7 @@


class SphinxConfigValue(Generic[TYPE_VALUE]):
SPHINX_TYPE: tuple[type[Any], ...] | type[Any]
SPHINX_TYPE: tuple[Type[Any], ...] | Type[Any]

def __init__(self, sphinx_name: str, initial_value: TYPE_VALUE | None = None) -> None:
self.sphinx_name: Final = sphinx_name
Expand Down

0 comments on commit c03f346

Please sign in to comment.