Skip to content

Commit e57a4a8

Browse files
committed
Use proper ClassVar typing for overrides.
1 parent 5d45e44 commit e57a4a8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

mkdocstrings_handlers/vba/_handler.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
Dict,
1313
Mapping,
1414
Tuple,
15+
ClassVar,
1516
)
1617

1718
from griffe import patch_loggers
@@ -50,17 +51,17 @@ def __init__(self, *, base_dir: Path, encoding: str, **kwargs: Any) -> None:
5051
self.base_dir = base_dir
5152
self.encoding = encoding
5253

53-
name: str = "vba" # type: ignore[misc]
54+
name: ClassVar[str] = "vba"
5455
"""
5556
The handler's name.
5657
"""
5758

58-
domain: str = "vba" # type: ignore[misc]
59+
domain: ClassVar[str] = "vba"
5960
"""
6061
The cross-documentation domain/language for this handler.
6162
"""
6263

63-
fallback_theme = "material"
64+
fallback_theme: ClassVar[str] = "material"
6465
"""
6566
The theme to fall back to.
6667
"""

0 commit comments

Comments
 (0)