fix darglint

This commit is contained in:
Elijah 2024-11-01 13:06:08 +00:00
parent a483ae400a
commit b4e93c9d13

View File

@ -19,12 +19,20 @@ class CustomMarkdownComponent(Component, MarkdownComponentMap):
@classmethod
def get_fn_args(cls) -> list[str]:
"""Return the function arguments."""
"""Return the function arguments.
Returns:
The function arguments.
"""
return ["custom_node", "custom_children", "custom_props"]
@classmethod
def get_fn_body(cls) -> str:
"""Return the function body."""
"""Return the function body.
Returns:
The function body.
"""
return "{return custom_node + custom_children + custom_props;}"