From 48570d2f6b42089b432917df39b876d1e0d2b2bc Mon Sep 17 00:00:00 2001 From: goddessana Date: Sun, 11 Feb 2024 20:44:26 +0900 Subject: [PATCH] test: fix `No return statement` error --- src/flask_moreshell/__main__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/flask_moreshell/__main__.py b/src/flask_moreshell/__main__.py index c5306fa..36255db 100644 --- a/src/flask_moreshell/__main__.py +++ b/src/flask_moreshell/__main__.py @@ -20,6 +20,7 @@ def _find_available_shell(shell_classes: dict[str, str]) -> BaseShell: return _get_shell_instance(shell_class, shell_classes) except ModuleNotFoundError: continue + return _get_shell_instance("python", shell_classes) @click.command(context_settings=dict(ignore_unknown_options=True))