Skip to content

Commit 93366db

Browse files
committed
Remove unused arguments from get_handler.
1 parent 243e235 commit 93366db

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

mkdocstrings_handlers/vba/_handler.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -177,23 +177,19 @@ def get_anchors(self, data: VbaModuleInfo) -> Tuple[str, ...]:
177177

178178
def get_handler(
179179
*,
180-
theme: str,
180+
theme: str = "material",
181181
custom_templates: str | None = None,
182182
config_file_path: str | None = None,
183-
paths: list[str] | None = None,
184-
locale: str = "en",
185-
**config: Any,
183+
**kwargs: Any,
186184
) -> VbaHandler:
187185
"""
188-
Simply return an instance of `VbaHandler`.
186+
Get a new `VbaHandler`.
189187
190188
Arguments:
191189
theme: The theme to use when rendering contents.
192190
custom_templates: Directory containing custom templates.
193191
config_file_path: The MkDocs configuration file path.
194-
paths: A list of paths to use as Griffe search paths.
195-
locale: The locale to use when rendering content.
196-
**config: Configuration passed to the handler.
192+
kwargs: Extra keyword arguments that we don't use.
197193
198194
Returns:
199195
An instance of `VbaHandler`.

0 commit comments

Comments
 (0)