Skip to content

Commit b7b3918

Browse files
committed
Add Missing type annotations
1 parent d236023 commit b7b3918

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_tca8418.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ def pull(self) -> Union[None, Literal[digitalio.Pull.UP]]:
365365
return None
366366

367367
@pull.setter
368-
def pull(self, val: Optional[Literal[digitalio.Pull.UP]]):
368+
def pull(self, val: Optional[Literal[digitalio.Pull.UP]]) -> None:
369369
if val is digitalio.Pull.UP:
370370
# for inputs, turn on the pullup (write high)
371371
self._tca.pullup[self._pin] = True

0 commit comments

Comments
 (0)