File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929from adafruit_button .button_base import ButtonBase , _check_color
3030
3131try :
32- from typing import Optional , Union , Tuple
32+ from typing import Optional , Tuple , Union
33+
3334 from displayio import Group
3435 from fontio import FontProtocol
3536except ImportError :
Original file line number Diff line number Diff line change 2222
2323"""
2424
25+ import terminalio
2526from adafruit_display_text .bitmap_label import Label
2627from displayio import Group
27- import terminalio
2828
2929try :
30- from typing import Optional , Union , Tuple
30+ from typing import Optional , Tuple , Union
31+
3132 from fontio import FontProtocol
3233except ImportError :
3334 pass
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ def __init__( # noqa: PLR0913 Too many arguments
7474 bmp_path : str = None ,
7575 selected_bmp_path : Optional [str ] = None ,
7676 transparent_index : Optional [Union [int , Tuple ]] = None ,
77- label_scale : Optional [int ] = 1
77+ label_scale : Optional [int ] = 1 ,
7878 ):
7979 if bmp_path is None :
8080 raise ValueError ("Please supply bmp_path. It cannot be None." )
You can’t perform that action at this time.
0 commit comments