File tree 3 files changed +6
-4
lines changed
3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 29
29
from adafruit_button .button_base import ButtonBase , _check_color
30
30
31
31
try :
32
- from typing import Optional , Union , Tuple
32
+ from typing import Optional , Tuple , Union
33
+
33
34
from displayio import Group
34
35
from fontio import FontProtocol
35
36
except ImportError :
Original file line number Diff line number Diff line change 22
22
23
23
"""
24
24
25
+ import terminalio
25
26
from adafruit_display_text .bitmap_label import Label
26
27
from displayio import Group
27
- import terminalio
28
28
29
29
try :
30
- from typing import Optional , Union , Tuple
30
+ from typing import Optional , Tuple , Union
31
+
31
32
from fontio import FontProtocol
32
33
except ImportError :
33
34
pass
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ def __init__( # noqa: PLR0913 Too many arguments
74
74
bmp_path : str = None ,
75
75
selected_bmp_path : Optional [str ] = None ,
76
76
transparent_index : Optional [Union [int , Tuple ]] = None ,
77
- label_scale : Optional [int ] = 1
77
+ label_scale : Optional [int ] = 1 ,
78
78
):
79
79
if bmp_path is None :
80
80
raise ValueError ("Please supply bmp_path. It cannot be None." )
You can’t perform that action at this time.
0 commit comments