Skip to content

Commit a4cd836

Browse files
committed
ci: Annotate class-attributes with ClassVar
1 parent 1e5c521 commit a4cd836

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/mkdocstrings_handlers/typescript/handler.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@
2323
class TypescriptHandler(BaseHandler):
2424
"""The Typescript handler class."""
2525

26-
name: str = "typescript"
26+
name: ClassVar[str] = "typescript"
2727
"""The handler's name."""
2828

29-
domain: str = "typescript"
29+
domain: ClassVar[str] = "typescript"
3030
"""The cross-documentation domain/language for this handler."""
3131

32-
enable_inventory: bool = False
32+
enable_inventory: ClassVar[bool] = False
3333
"""Whether this handler is interested in enabling the creation of the `objects.inv` Sphinx inventory file."""
3434

35-
fallback_theme = "material"
35+
fallback_theme: ClassVar[str] = "material"
3636
"""The theme to fallback to."""
3737

3838
fallback_config: ClassVar[dict] = {"fallback": True}

0 commit comments

Comments
 (0)