Skip to content

Commit b5f8022

Browse files
authored
Merge pull request #13 from sabadam32/fix_typeing_9
refactor: black reformatted __init__ signature
2 parents 8c2979b + ba27d29 commit b5f8022

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

adafruit_ahtx0.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,9 @@ class AHTx0:
8686
8787
"""
8888

89-
def __init__(self, i2c_bus: busio.I2C, address: int = AHTX0_I2CADDR_DEFAULT):
89+
def __init__(
90+
self, i2c_bus: busio.I2C, address: int = AHTX0_I2CADDR_DEFAULT
91+
) -> None:
9092
time.sleep(0.02) # 20ms delay to wake up
9193
self.i2c_device = I2CDevice(i2c_bus, address)
9294
self._buf = bytearray(6)

0 commit comments

Comments
 (0)