From b44d4e3670a5a70331b134091b2c94e502901170 Mon Sep 17 00:00:00 2001 From: Dominik Haentsch Date: Thu, 14 Sep 2023 15:12:24 +0200 Subject: [PATCH] chore: remove unnecessary option type for click args --- renumics/spotlight/cli.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/renumics/spotlight/cli.py b/renumics/spotlight/cli.py index 4b5ecde1..7854a8c7 100644 --- a/renumics/spotlight/cli.py +++ b/renumics/spotlight/cli.py @@ -40,13 +40,11 @@ def cli_dtype_callback( @click.command() # type: ignore @click.argument( "dataset", - type=Optional[str], required=False, default=os.environ.get("SPOTLIGHT_TABLE_FILE"), ) @click.option( "--folder", - type=str, help="Root folder for filebrowser and file lookup.", required=False, ) @@ -60,7 +58,6 @@ def cli_dtype_callback( @click.option( "--port", "-p", - type=str, default="auto", help="The port that Spotlight should listen on (use 'auto' to use a random free port)", show_default=True,