File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ class OptionGroup:
86
86
"""
87
87
88
88
def __init__ (self , name : ty .Optional [str ] = None , * ,
89
- hidden = False , help : ty .Optional [str ] = None ) -> None :
89
+ hidden = False , help : ty .Optional [str ] = None ) -> None : # noqa
90
90
self ._name = name if name else ''
91
91
self ._help = inspect .cleandoc (help if help else '' )
92
92
self ._hidden = hidden
@@ -134,7 +134,7 @@ def get_default_name(self, ctx: click.Context) -> str:
134
134
option_names = '|' .join (self .get_option_names (ctx ))
135
135
return f'({ option_names } )'
136
136
137
- def get_help_record (self , ctx : click .Context ) -> ty .Tuple [str , str ]:
137
+ def get_help_record (self , ctx : click .Context ) -> ty .Optional [ ty . Tuple [str , str ] ]:
138
138
"""Returns the help record for the group
139
139
140
140
:param ctx: Click Context object
You can’t perform that action at this time.
0 commit comments