Skip to content

Commit 26df346

Browse files
committed
chore: satisfy Pylint requirements. Again.
1 parent b628dba commit 26df346

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

leaphymicropython/sensors/adps9960.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
GESTURE_RIGHT = const(3)
4949

5050

51-
class Adps_9960(I2CDevice):
51+
class Adps9960(I2CDevice):
5252
"""
5353
An ADPS 9960 gesture and ambient light sensor.
5454
"""
@@ -113,7 +113,8 @@ def read_color(self) -> tuple[int, int, int, int]:
113113
Read the latest color-levels from the sensor.
114114
115115
Returns:
116-
tuple[int,int,int,int]: A tuple of the red, green, blue and "clear" light-levels, expressed as 16-bit unsigned integers.
116+
tuple[int,int,int,int]: A tuple of the red, green, blue and "clear"
117+
light-levels, expressed as 16-bit unsigned integers.
117118
"""
118119
raw_data = self._memory_read(_REG_CDATAL, _COLOR_DATA_LEN)
119120
clear, red, green, blue = ustruct.unpack(">HHHH", raw_data)

0 commit comments

Comments
 (0)