Skip to content

Commit d236023

Browse files
committed
Add Missing type annotations
1 parent 0d04760 commit d236023

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[digitalio.Pull.UP]):
368+
def pull(self, val: Optional[Literal[digitalio.Pull.UP]]):
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)