Skip to content

Commit 72220b4

Browse files
committed
add missing return type on __init__
1 parent c7f3b6f commit 72220b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_shtc3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ class SHTC3:
118118
119119
"""
120120

121-
def __init__(self, i2c_bus: I2C):
121+
def __init__(self, i2c_bus: I2C) -> None:
122122
self.i2c_device = i2c_device.I2CDevice(i2c_bus, _SHTC3_DEFAULT_ADDR)
123123

124124
self._buffer = bytearray(6)

0 commit comments

Comments
 (0)