Skip to content

Commit ee89c2b

Browse files
committed
annotated __init__ by adding -> None:
1 parent e5fe50c commit ee89c2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_adt7410.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ class ADT7410:
108108
temp_over_high: ROBit = ROBit(_ADT7410_STATUS, 5)
109109
temp_under_low: ROBit = ROBit(_ADT7410_STATUS, 4)
110110

111-
def __init__(self, i2c_bus: busio.I2C, address: int = 0x48):
111+
def __init__(self, i2c_bus: busio.I2C, address: int = 0x48) -> None:
112112
self.i2c_device = I2CDevice(i2c_bus, address)
113113
self._buf = bytearray(3)
114114
# Verify the manufacturer and device ids to ensure we are talking to

0 commit comments

Comments
 (0)