Skip to content

Commit bac553d

Browse files
committed
ci: Type variable to satisfy Mypy
1 parent 3c4424d commit bac553d

File tree

1 file changed

+2
-2
lines changed
  • src/mkdocstrings_handlers/python/_internal

1 file changed

+2
-2
lines changed

src/mkdocstrings_handlers/python/_internal/handler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ def get_aliases(self, identifier: str) -> tuple[str, ...]:
360360
return tuple(f"{alias}({parameter})" for alias in aliases)
361361
return tuple(aliases)
362362

363-
def normalize_extension_paths(self, extensions: Sequence) -> Sequence:
363+
def normalize_extension_paths(self, extensions: Sequence) -> list[str | dict[str, Any]]:
364364
"""Resolve extension paths relative to config file.
365365
366366
Parameters:
@@ -369,7 +369,7 @@ def normalize_extension_paths(self, extensions: Sequence) -> Sequence:
369369
Returns:
370370
The normalized extensions.
371371
"""
372-
normalized = []
372+
normalized: list[str | dict[str, Any]] = []
373373

374374
for ext in extensions:
375375
if isinstance(ext, dict):

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy