Skip to content

Commit

Permalink
Don't import typing.Any on runtime (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
mondeja authored Jun 5, 2024
1 parent 42981e4 commit 1dd2835
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mkdocs_include_markdown_plugin/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from collections.abc import Callable
from functools import cached_property
from typing import TYPE_CHECKING, Any
from typing import TYPE_CHECKING

from mkdocs.exceptions import PluginError
from mkdocs.livereload import LiveReloadServer
Expand Down Expand Up @@ -98,7 +98,7 @@ def on_serve(
self,
server: LiveReloadServer,
config: MkDocsConfig, # noqa: ARG002
builder: Callable[[Any], Any], # noqa: ARG002
builder: Callable, # noqa: ARG002
) -> None:
if self._server is None: # pragma: no cover
self._server = server
Expand Down
2 changes: 2 additions & 0 deletions src/mkdocs_include_markdown_plugin/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@


if TYPE_CHECKING:
from typing import Any

from mkdocs_include_markdown_plugin.cache import Cache


Expand Down

0 comments on commit 1dd2835

Please sign in to comment.