8000 docs: Add note about Black formatting for signatures · mkdocstrings/python@639d11e · GitHub
[go: up one dir, main page]

Skip to content

Commit 639d11e

Browse files
committed
docs: Add note about Black formatting for signatures
1 parent e2719e6 commit 639d11e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/mkdocstrings_handlers/python/handler.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ class PythonHandler(BaseHandler):
106106
annotations_path (str): The verbosity for annotations path: `brief` (recommended), or `source` (as written in the source). Default: `"brief"`.
107107
show_signature (bool): Show methods and functions signatures. Default: `True`.
108108
show_signature_annotations (bool): Show the type annotations in methods and functions signatures. Default: `False`.
109-
separate_signature (bool): Whether to put the whole signature in a code block below the heading. Default: `False`.
109+
separate_signature (bool): Whether to put the whole signature in a code block below the heading.
110+
If Black is installed, the signature is also formatted using it. Default: `False`.
110111
111112
Attributes: Additional options:
112113
show_bases (bool): Show the base classes of a class. Default: `True`.

0 commit comments

Comments
 (0)
0