Skip to content

Commit 91946ff

Browse files
committed
Run pre-commit
1 parent 4d7f5c9 commit 91946ff

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

adafruit_mlx90395.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,6 @@ def gain(self, value: int) -> None:
233233
self._gain_val = value
234234

235235
def _command(self, command_id: int) -> int:
236-
237236
buffer = bytearray([0x80, command_id])
238237
with self.i2c_device as i2c:
239238
i2c.write_then_readinto(buffer, buffer, in_end=1)
@@ -254,7 +253,6 @@ def magnetic(self) -> Tuple[float, float, float]:
254253
return res
255254

256255
def _read_measurement(self) -> Tuple[float, float, float]:
257-
258256
# clear the buffer
259257
for i in range(len(self._buffer)): # pylint: disable=consider-using-enumerate
260258
self._buffer[i] = 0

0 commit comments

Comments
 (0)