Skip to content

Commit f7abbe8

Browse files
committed
🐛 Fix mypy checks
1 parent 06a9cb0 commit f7abbe8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tiatoolbox/cli/common.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def cli_output_type(
103103
input_type = click_choices if input_type is None else input_type
104104
return click.option(
105105
"--output-type",
106-
help=add_default_to_usage_help(usage_help, default),
106+
help=add_default_to_usage_help(usage_help, default=default),
107107
default=default,
108108
type=input_type,
109109
)
@@ -134,7 +134,7 @@ def cli_patch_mode(
134134
return click.option(
135135
"--patch-mode",
136136
type=bool,
137-
help=add_default_to_usage_help(usage_help, default),
137+
help=add_default_to_usage_help(usage_help, default=default),
138138
default=default,
139139
)
140140

@@ -286,7 +286,7 @@ def cli_model(
286286
"""Enables --pretrained-model option for cli."""
287287
return click.option(
288288
"--model",
289-
help=add_default_to_usage_help(usage_help, default),
289+
help=add_default_to_usage_help(usage_help, default=default),
290290
default=default,
291291
)
292292

@@ -299,7 +299,7 @@ def cli_weights(
299299
"""Enables --pretrained-weights option for cli."""
300300
return click.option(
301301
"--weights",
302-
help=add_default_to_usage_help(usage_help, default),
302+
help=add_default_to_usage_help(usage_help, default=default),
303303
default=default,
304304
)
305305

0 commit comments

Comments
 (0)