Skip to content

Commit 242b289

Browse files
🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
1 parent e115b4e commit 242b289

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/fastapi_cli/cli.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -298,12 +298,10 @@ def schema(
298298
] = None,
299299
indent: Annotated[
300300
int,
301-
typer.Option(
302-
help="JSON format indent. If 0, disable pretty printing"
303-
),
304-
] = 2,
305-
) -> Any:
306-
""" Generate schema """
301+
typer.Option(help="JSON format indent. If 0, disable pretty printing"),
302+
] = 2,
303+
) -> Any:
304+
"""Generate schema"""
307305
fastapi_app = get_app(path=path, app_name=app)
308306
schema = fastapi_app.openapi()
309307

0 commit comments

Comments
 (0)