From 3eeb7e711f9bafcdaa704f186f10837bc6e96004 Mon Sep 17 00:00:00 2001 From: Ju4tCode <42488585+yanyongyu@users.noreply.github.com> Date: Wed, 15 Nov 2023 10:41:18 +0800 Subject: [PATCH] Update nb_cli/cli/commands/project.py --- nb_cli/cli/commands/project.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/nb_cli/cli/commands/project.py b/nb_cli/cli/commands/project.py index 21e0fa8..b2343a1 100644 --- a/nb_cli/cli/commands/project.py +++ b/nb_cli/cli/commands/project.py @@ -365,9 +365,11 @@ async def run( await Reloader( partial(run_project, exist_bot=Path(file)), terminate_process, - reload_dirs=[Path(i) for i in reload_dirs] - if reload_dirs is not None - else reload_dirs, + reload_dirs=( + [Path(i) for i in reload_dirs] + if reload_dirs is not None + else reload_dirs + ), file_filter=FileFilter(reload_includes, reload_excludes), reload_delay=reload_delay, cwd=get_project_root(),