File tree 1 file changed +5
-0
lines changed
src/mkdocstrings_handlers/python 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(
88
88
function : Function ,
89
89
line_length : int ,
90
90
* ,
91
+ annotations : bool | None = None , # noqa: ARG001
91
92
crossrefs : bool = False , # noqa: ARG001
92
93
) -> str :
93
94
"""Format a signature using Black.
94
95
95
96
Parameters:
97
+ context: Jinja context, passed automatically.
96
98
callable_path: The path of the callable we render the signature of.
99
+ function: The function we render the signature of.
97
100
line_length: The line length to give to Black.
101
+ annotations: Whether to show type annotations.
98
102
crossrefs: Whether to cross-reference types in the signature.
99
103
100
104
Returns:
@@ -126,6 +130,7 @@ def do_format_attribute(
126
130
"""Format an attribute using Black.
127
131
128
132
Parameters:
133
+ context: Jinja context, passed automatically.
129
134
attribute_path: The path of the callable we render the signature of.
130
135
attribute: The attribute we render the signature of.
131
136
line_length: The line length to give to Black.
You can’t perform that action at this time.
0 commit comments