Skip to content

Commit 07a439b

Browse files
committed
added Literal definitions as suggested and fixed pylint issues
1 parent a1c2c03 commit 07a439b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_max31856.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ def _wait_for_oneshot(self) -> None:
376376
while self.oneshot_pending:
377377
sleep(0.01)
378378

379-
def _read_register(self, address: int, length: int) -> int:
379+
def _read_register(self, address: int, length: int) -> bytearray:
380380
# pylint: disable=no-member
381381
# Read a 16-bit BE unsigned value from the specified 8-bit address.
382382
with self._device as device:

0 commit comments

Comments
 (0)