From 04727af7b654a50b4611d328217c0d8d0b1ffd84 Mon Sep 17 00:00:00 2001 From: Francois Gervais Date: Sat, 14 Aug 2021 23:02:30 -0400 Subject: [PATCH] Disable pylint branches check --- src/adafruit_blinka/microcontroller/mcp2221/mcp2221.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/adafruit_blinka/microcontroller/mcp2221/mcp2221.py b/src/adafruit_blinka/microcontroller/mcp2221/mcp2221.py index e5b24bb..fb9edf3 100644 --- a/src/adafruit_blinka/microcontroller/mcp2221/mcp2221.py +++ b/src/adafruit_blinka/microcontroller/mcp2221/mcp2221.py @@ -189,7 +189,7 @@ class MCP2221: # bus release will need "a few hundred microseconds" time.sleep(0.001) - # pylint: disable=too-many-arguments + # pylint: disable=too-many-arguments,too-many-branches def _i2c_write(self, cmd, address, buffer, start=0, end=None): if self._i2c_state() != 0x00: self._i2c_cancel() -- 2.49.0