]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - src/microcontroller/pin.py
Lint! Untested.
[Adafruit_Blinka-hackapet.git] / src / microcontroller / pin.py
old mode 100644 (file)
new mode 100755 (executable)
index 2b6199b..2109544
@@ -1,8 +1,13 @@
+"""Pins named after their chip name."""
+
 from adafruit_blinka import agnostic
 
+# We intentionally are patching into this namespace so skip the wildcard check.
+# pylint: disable=unused-wildcard-import,wildcard-import
+
 if agnostic.microcontroller == "esp8266":
     from adafruit_blinka.microcontroller.esp8266.pin import *
 elif agnostic.microcontroller == "stm32":
     from adafruit_blinka.microcontroller.stm32.pin import *
 else:
-    raise NotImplementedError("Microcontroller not supported")
\ No newline at end of file
+    raise NotImplementedError("Microcontroller not supported")