From 93ca6f377ebd249826f19c92a46e71e577c3d38e Mon Sep 17 00:00:00 2001 From: Thomas Franks Date: Wed, 2 Nov 2022 13:45:47 -0400 Subject: [PATCH] Add Missing Type annotations --- adafruit_ble_magic_light.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adafruit_ble_magic_light.py b/adafruit_ble_magic_light.py index 2a2b964..a045d3d 100644 --- a/adafruit_ble_magic_light.py +++ b/adafruit_ble_magic_light.py @@ -63,7 +63,7 @@ def __setitem__(self, index: int, value: int) -> None: self._control = self._buf self._color = value - def __len__(self): + def __len__(self) -> int: return 1 # Brightness doesn't preserve the color so comment it out for now. There are many other