Skip to content

Commit 3466a7d

Browse files
committed
merge main, resolve conflicts
1 parent 1e8ce3e commit 3466a7d

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

adafruit_button/button.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
from adafruit_button.button_base import ButtonBase, _check_color
3030

3131
try:
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
3536
except ImportError:

adafruit_button/button_base.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,13 @@
2222
2323
"""
2424

25+
import terminalio
2526
from adafruit_display_text.bitmap_label import Label
2627
from displayio import Group
27-
import terminalio
2828

2929
try:
30-
from typing import Optional, Union, Tuple
30+
from typing import Optional, Tuple, Union
31+
3132
from fontio import FontProtocol
3233
except ImportError:
3334
pass

adafruit_button/sprite_button.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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.")

0 commit comments

Comments
 (0)