]> Repositories - Adafruit_Blinka-hackapet.git/commitdiff
Disable pylint branches check
authorFrancois Gervais <francoisgervais@gmail.com>
Sun, 15 Aug 2021 03:02:30 +0000 (23:02 -0400)
committerFrancois Gervais <francoisgervais@gmail.com>
Sun, 15 Aug 2021 03:02:30 +0000 (23:02 -0400)
src/adafruit_blinka/microcontroller/mcp2221/mcp2221.py

index e5b24bb119c34344b29d5c71a921a1c0097527d6..fb9edf3e9e788fbc8f139a8fd8ef421433b36a9a 100644 (file)
@@ -189,7 +189,7 @@ class MCP2221:
             # bus release will need "a few hundred microseconds"
             time.sleep(0.001)
 
             # 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()
     def _i2c_write(self, cmd, address, buffer, start=0, end=None):
         if self._i2c_state() != 0x00:
             self._i2c_cancel()