Skip to content

Commit 07ed59f

Browse files
committed
Run pre-commit
1 parent f58cbbb commit 07ed59f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

adafruit_tmp117.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,6 @@ class TMP117:
191191
_soft_reset = RWBit(_CONFIGURATION, 1, 2, False)
192192

193193
def __init__(self, i2c_bus: I2C, address: int = _I2C_ADDR):
194-
195194
self.i2c_device = i2c_device.I2CDevice(i2c_bus, address)
196195
if self._part_id != _DEVICE_ID_VALUE:
197196
raise AttributeError("Cannot find a TMP117")
@@ -519,7 +518,6 @@ def serial_number(self):
519518
return _convert_to_integer(combined_id)
520519

521520
def _set_mode_and_wait_for_measurement(self, mode: int) -> float:
522-
523521
self._mode = mode
524522
# poll for data ready
525523
while not self._read_status()[2]:

0 commit comments

Comments
 (0)