From ba27d29721083f77be379bb13886a60ed203a472 Mon Sep 17 00:00:00 2001 From: Rich Saupe Date: Mon, 2 May 2022 09:40:05 -0600 Subject: [PATCH] refactor: black reformatted __init__ signature --- adafruit_ahtx0.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/adafruit_ahtx0.py b/adafruit_ahtx0.py index 281e667..ecd0ca8 100644 --- a/adafruit_ahtx0.py +++ b/adafruit_ahtx0.py @@ -86,7 +86,9 @@ class AHTx0: """ - def __init__(self, i2c_bus: busio.I2C, address: int = AHTX0_I2CADDR_DEFAULT): + def __init__( + self, i2c_bus: busio.I2C, address: int = AHTX0_I2CADDR_DEFAULT + ) -> None: time.sleep(0.02) # 20ms delay to wake up self.i2c_device = I2CDevice(i2c_bus, address) self._buf = bytearray(6)