]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - src/adafruit_blinka/microcontroller/fake_mcp2221/pin.py
blacken
[Adafruit_Blinka-hackapet.git] / src / adafruit_blinka / microcontroller / fake_mcp2221 / pin.py
index 27a1c562e6bfa77daeb991e1fb16cfdc028df147..f4e1b94ad312a6e65ada65a91472cf16c89c8815 100644 (file)
@@ -28,7 +28,9 @@ class Pin:
         if self.id is None:
             raise RuntimeError("Can not init a None type pin.")
         if pull is not None:
-            raise NotImplementedError("Internal pullups and pulldowns not supported on the MCP2221")
+            raise NotImplementedError(
+                "Internal pullups and pulldowns not supported on the MCP2221"
+            )
         if mode in (Pin.IN, Pin.OUT):
             # All pins can do GPIO
             pass
@@ -90,4 +92,4 @@ G2 = Pin(2)
 G3 = Pin(3)
 
 SCL = Pin()
-SDA = Pin()
\ No newline at end of file
+SDA = Pin()