Skip to content

Commit 2ba1e2a

Browse files
committed
Correct Missing Type Annotations
1 parent 07b23e8 commit 2ba1e2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_ina260.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,8 @@ def __init__(self, i2c_bus: I2C(), address: int = 0x40) -> None:
178178

179179
if self._manufacturer_id != self.TEXAS_INSTRUMENT_ID:
180180
raise RuntimeError(
181-
f"Failed to find Texas Instrument ID, read {self._manufacturer_id} while expected "
182-
f"{self.TEXAS_INSTRUMENT_ID}"
181+
"Failed to find Texas Instrument ID, read "
182+
+ f"{self._manufacturer_id} while expected {self.TEXAS_INSTRUMENT_ID}"
183183
" - check your wiring!"
184184
)
185185

0 commit comments

Comments
 (0)