Skip to content

Commit cebdf04

Browse files
authored
Merge pull request #11 from tcfranks/main
Add Missing Type annotations
2 parents 3d43870 + 93ca6f3 commit cebdf04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_ble_magic_light.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def __setitem__(self, index: int, value: int) -> None:
6363
self._control = self._buf
6464
self._color = value
6565

66-
def __len__(self):
66+
def __len__(self) -> int:
6767
return 1
6868

6969
# Brightness doesn't preserve the color so comment it out for now. There are many other

0 commit comments

Comments
 (0)