Skip to content

Commit

Permalink
added Literal definitions as suggested and fixed pylint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tcfranks committed Sep 20, 2022
1 parent a1c2c03 commit 07a439b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adafruit_max31856.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ def _wait_for_oneshot(self) -> None:
while self.oneshot_pending:
sleep(0.01)

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

0 comments on commit 07a439b

Please sign in to comment.