Skip to content

Commit bc1149b

Browse files
committed
Corrections after revision
1 parent 66daec9 commit bc1149b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_display_text/label.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def __init__(
140140
if (anchored_position is not None) and (anchor_point is not None):
141141
self.anchored_position = anchored_position
142142

143-
def _create_background_box(self, lines: int, y_offset: int):
143+
def _create_background_box(self, lines: int, y_offset: int) -> None:
144144
"""Private Class function to create a background_box
145145
:param lines: int number of lines
146146
:param y_offset: int y pixel bottom coordinate for the background_box"""
@@ -456,7 +456,7 @@ def anchored_position(self) -> Tuple[int, int]:
456456
)
457457

458458
@anchored_position.setter
459-
def anchored_position(self, new_position: Tuple[int, int]) -> Tuple[int, int]:
459+
def anchored_position(self, new_position: Tuple[int, int]) -> None:
460460
if (self._anchor_point is None) or (new_position is None):
461461
return # Note: anchor_point must be set before setting anchored_position
462462
self.x = int(

0 commit comments

Comments
 (0)