Skip to content

Commit 72d2439

Browse files
committed
lint lint
1 parent 4b0bc57 commit 72d2439

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

adafruit_ad569x.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
_WRITE_CONTROL = const(0x40)
5151

5252

53+
# pylint: disable=broad-exception-raised
5354
class Adafruit_AD569x:
5455
"""Class which provides interface to AD569x Dac."""
5556

@@ -99,7 +100,7 @@ def _send_command(self, command: int, data: int) -> None:
99100
try:
100101
with self.i2c_device as i2c:
101102
i2c.write(buffer)
102-
except Exception:
103+
except Exception: # pylint: disable=broad-exception-caught
103104
with self.i2c_device as i2c:
104105
i2c.write(buffer, end=False)
105106
except Exception as error:

0 commit comments

Comments
 (0)