]> Repositories - Adafruit_Blinka-hackapet.git/commitdiff
Fixed black errors
authorCarsten Thue-Bludworth <carstentb@protonmail.com>
Fri, 29 Apr 2022 16:05:47 +0000 (12:05 -0400)
committerCarsten Thue-Bludworth <carstentb@protonmail.com>
Fri, 29 Apr 2022 16:05:47 +0000 (12:05 -0400)
src/microcontroller/__init__.py
src/microcontroller/pin.py

index d88576ad4deb80b568a6daa9c5417144d4d8e7a8..39beeb9f05a641f9ccfc7215aad2994eca50db79 100644 (file)
@@ -119,7 +119,9 @@ elif chip_id == ap_chip.RP2040_U2IF:
 elif chip_id == ap_chip.GENERIC_X86:
     print("WARNING: GENERIC_X86 is not fully supported. Some features may not work.")
 elif chip_id is None:
-    print("WARNING: chip_id == None is not fully supported. Some features may not work.")
+    print(
+        "WARNING: chip_id == None is not fully supported. Some features may not work."
+    )
 elif "sphinx" in sys.modules:
     pass
 else:
index b107d410372f2b6a92acc2430c5bdb719688386a..6d1d565035a4eed298b6e05eddd7de7f30e72008 100644 (file)
@@ -103,7 +103,9 @@ elif "sphinx" in sys.modules:
     # pylint: disable=unused-import
     from adafruit_blinka.microcontroller.generic_micropython import Pin
 elif chip_id is None:
-    print("WARNING: chip_id == None is not fully supported. Some features may not work.")
+    print(
+        "WARNING: chip_id == None is not fully supported. Some features may not work."
+    )
     from adafruit_blinka.microcontroller.generic_micropython import Pin
 else:
     raise NotImplementedError("Microcontroller not supported: ", chip_id)