Skip to content

Commit 3ca9b2c

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent cdb1e4f commit 3ca9b2c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/autodoc2/cli.py

+7-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,13 @@ def write(
197197
),
198198
# TODO read from config file, to populate config object
199199
output: Path = typer.Option("_autodoc", help="Folder to write to"),
200-
renderer: str = typer.Option("rst", "-r", "--renderer", help="Renderer to use, rst or md", callback=lambda x: _load_renderer("render_plugin", x)),
200+
renderer: str = typer.Option(
201+
"rst",
202+
"-r",
203+
"--renderer",
204+
help="Renderer to use, rst or md",
205+
callback=lambda x: _load_renderer("render_plugin", x),
206+
),
201207
clean: bool = typer.Option(False, "-c", "--clean", help="Remove old files"),
202208
) -> None:
203209
"""Create sphinx files for a python module or package."""

0 commit comments

Comments
 (0)