@@ -148,7 +148,7 @@ def __init__(
148
148
placeholder_add_to_selection_box : bool = True ,
149
149
placeholder_selected : str = '{0} selected' ,
150
150
scrollbar_color : ColorInputType = (235 , 235 , 235 ),
151
- scrollbar_cursor : CursorInputType = None ,
151
+ scrollbar_cursor : CursorInputType = None , # type: ignore
152
152
scrollbar_shadow : bool = False ,
153
153
scrollbar_shadow_color : ColorInputType = (0 , 0 , 0 ),
154
154
scrollbar_shadow_offset : int = 2 ,
@@ -173,7 +173,7 @@ def __init__(
173
173
selection_option_active_font_color : ColorInputType = (0 , 0 , 0 ),
174
174
selection_option_border_color : ColorInputType = (220 , 220 , 220 ),
175
175
selection_option_border_width : int = 1 ,
176
- selection_option_cursor : CursorInputType = None ,
176
+ selection_option_cursor : CursorInputType = None , # type: ignore
177
177
selection_option_font : Optional [FontType ] = None ,
178
178
selection_option_font_color : ColorInputType = (0 , 0 , 0 ),
179
179
selection_option_font_size : Optional [int ] = None ,
@@ -337,7 +337,7 @@ def _get_current_selected_text(self) -> str:
337
337
f'string (List[str]=>str), not { type (o )} type ({ o } returned)'
338
338
return self ._placeholder_selected .format (o )
339
339
340
- raise ValueError ('invalid selection placeholder format type' )
340
+ raise ValueError (f 'invalid selection placeholder format type " { self . _selection_placeholder_format } " ' )
341
341
342
342
def _get_selected_items_list_str (self ) -> List [str ]:
343
343
"""
0 commit comments