Skip to content

Commit f6026b2

Browse files
committed
merge main, resolve conflicts
1 parent d344854 commit f6026b2

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

adafruit_button/button.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
from adafruit_button.button_base import ButtonBase, _check_color
2929

3030
try:
31-
from typing import Optional, Union, Tuple, Any, List
31+
from typing import Optional, Union, Tuple
3232
from fontio import FontProtocol
3333
from displayio import Group
3434
except ImportError:

adafruit_button/button_base.py

-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
pass
3333

3434

35-
3635
def _check_color(color: Optional[Union[int, tuple[int, int, int]]]) -> int:
3736
# if a tuple is supplied, convert it to a RGB number
3837
if isinstance(color, tuple):

adafruit_button/sprite_button.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
from adafruit_button.button_base import ButtonBase
2727

2828
try:
29-
from typing import Optional, Union, Tuple, List
29+
from typing import Optional, Union, Tuple
3030
from fontio import FontProtocol
3131
except ImportError:
3232
pass

0 commit comments

Comments
 (0)