Skip to content

Commit e89a06e

Browse files
committed
Fix type hints.
1 parent 09b1caf commit e89a06e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

consolekit/options.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,8 @@ def process_value(self, ctx: click.Context, value: Any) -> Optional[Tuple]:
422422
return self.default
423423
else:
424424
return self.type_cast_value(ctx, value)
425+
else:
426+
return None
425427

426428

427429
class _Option(click.Option):

0 commit comments

Comments
 (0)