We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62d454c commit 4266417Copy full SHA for 4266417
adafruit_bus_device/i2c_device.py
@@ -177,6 +177,6 @@ def __probe_for_device(self):
177
result = bytearray(1)
178
self.i2c.readfrom_into(self.device_address, result)
179
except OSError:
180
- raise ValueError("No I2C device at address: 0x%x" % self.device_address)
+ raise ValueError("No I2C device at address: 0x%x" % self.device_address) # pylint: disable=raise-missing-from
181
finally:
182
self.i2c.unlock()
0 commit comments