X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/blobdiff_plain/987e70e7a61beeb703cf33ab9f9fa6b0ebc6ce1f..2bb509c5e122b4e0538bd5a87364c3c5a524fc0c:/src/adafruit_blinka/microcontroller/fake_mcp2221/pin.py diff --git a/src/adafruit_blinka/microcontroller/fake_mcp2221/pin.py b/src/adafruit_blinka/microcontroller/fake_mcp2221/pin.py index 27a1c56..f4e1b94 100644 --- a/src/adafruit_blinka/microcontroller/fake_mcp2221/pin.py +++ b/src/adafruit_blinka/microcontroller/fake_mcp2221/pin.py @@ -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()