Skip to content

Commit 987eaaf

Browse files
committed
add no cover to L390
1 parent 0208421 commit 987eaaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

typer/rich_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ def _print_options_panel(
387387
for opt_str in param.secondary_opts:
388388
if "--" in opt_str:
389389
secondary_opt_long_strs.append(opt_str)
390-
elif metavar_name:
390+
elif metavar_name: # pragma: no cover
391391
secondary_opt_short_strs.append(metavar_name)
392392
else:
393393
secondary_opt_short_strs.append(opt_str)

0 commit comments

Comments
 (0)