Skip to content

Commit 565fed5

Browse files
authored
Merge pull request #7 from tcfranks/main
Add Missing Type Annotations
2 parents 5a92ece + 8b59a82 commit 565fed5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_uc8151d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ class UC8151D(displayio.EPaperDisplay):
108108
Display rotation
109109
"""
110110

111-
def __init__(self, bus, **kwargs):
111+
def __init__(self, bus: displayio.FourWire, **kwargs) -> None:
112112
if kwargs.get("grayscale", False):
113113
start_sequence = bytearray(_GRAYSCALE_START_SEQUENCE)
114114
else:

0 commit comments

Comments
 (0)