File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
src/mkdocstrings_handlers/python Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -88,13 +88,17 @@ def do_format_signature(
8888 function : Function ,
8989 line_length : int ,
9090 * ,
91+ annotations : bool | None = None , # noqa: ARG001
9192 crossrefs : bool = False , # noqa: ARG001
9293) -> str :
9394 """Format a signature using Black.
9495
9596 Parameters:
97+ context: Jinja context, passed automatically.
9698 callable_path: The path of the callable we render the signature of.
99+ function: The function we render the signature of.
97100 line_length: The line length to give to Black.
101+ annotations: Whether to show type annotations.
98102 crossrefs: Whether to cross-reference types in the signature.
99103
100104 Returns:
@@ -126,6 +130,7 @@ def do_format_attribute(
126130 """Format an attribute using Black.
127131
128132 Parameters:
133+ context: Jinja context, passed automatically.
129134 attribute_path: The path of the callable we render the signature of.
130135 attribute: The attribute we render the signature of.
131136 line_length: The line length to give to Black.
You can’t perform that action at this time.
0 commit comments