Skip to content

Commit 14a9f0b

Browse files
pre-commit-ci[bot]patrick91
authored andcommitted
🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
1 parent 4b6a822 commit 14a9f0b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/fastapi_cli/cli.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def _run(
104104
host: str = "127.0.0.1",
105105
port: int = 8000,
106106
reload: bool = True,
107-
reload_dirs: Union[List[Path], None] = None,
107+
reload_dirs: Union[list[Path], None] = None,
108108
workers: Union[int, None] = None,
109109
root_path: str = "",
110110
command: str,
@@ -222,7 +222,8 @@ def _run(
222222
reload=reload,
223223
reload_dirs=(
224224
[str(directory.resolve()) for directory in reload_dirs]
225-
if reload_dirs else None
225+
if reload_dirs
226+
else None
226227
),
227228
workers=workers,
228229
root_path=root_path,
@@ -261,7 +262,7 @@ def dev(
261262
),
262263
] = True,
263264
reload_dir: Annotated[
264-
Union[List[Path], None],
265+
Union[list[Path], None],
265266
typer.Option(
266267
help="Set reload directories explicitly, instead of using the current working directory."
267268
),

0 commit comments

Comments
 (0)