]> Repositories - Adafruit_Blinka-hackapet.git/commitdiff
fix issues highlighted by pre-commit use-pi5-pio-neopixel
authorJeff Epler <jepler@gmail.com>
Wed, 11 Dec 2024 23:18:58 +0000 (17:18 -0600)
committerJeff Epler <jepler@gmail.com>
Wed, 11 Dec 2024 23:18:58 +0000 (17:18 -0600)
setup.py
src/neopixel_write.py

index 6178044d53a94978b186022fcd232e78d73b1c38..5ec4231168b4c8b6bb8ac03e57d62afe9888aa04 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -37,7 +37,11 @@ if os.path.exists("/proc/device-tree/compatible"):
         board_reqs = ["RPi.GPIO", "rpi_ws281x>=4.0.0"]
     # Pi 5
     if b"brcm,bcm2712" in compat:
-        board_reqs = ["rpi_ws281x>=4.0.0", "rpi-lgpio", "Adafruit-Blinka-Raspberry-Pi5-Neopixel"]
+        board_reqs = [
+            "rpi_ws281x>=4.0.0",
+            "rpi-lgpio",
+            "Adafruit-Blinka-Raspberry-Pi5-Neopixel",
+        ]
     if (
         b"ti,am335x" in compat
     ):  # BeagleBone Black, Green, PocketBeagle, BeagleBone AI, etc.
index 765d9c040287fa260422056256b0eae8af28ce04..641a2021fa448b6f2b2f7f6a954f816750025f46 100644 (file)
@@ -10,7 +10,7 @@ Currently supported on Raspberry Pi only.
 
 * Author(s): ladyada
 """
-# pylint: disable=too-many-boolean-expressions
+# pylint: disable=too-many-boolean-expressions, ungrouped-imports
 import sys
 
 from adafruit_blinka.agnostic import detector, board_id