From a7ebb5636236d7866eef7f3ac5bc844f9118490f Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Wed, 11 Dec 2024 17:18:58 -0600 Subject: [PATCH] fix issues highlighted by pre-commit --- setup.py | 6 +++++- src/neopixel_write.py | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 6178044..5ec4231 100755 --- 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. diff --git a/src/neopixel_write.py b/src/neopixel_write.py index 765d9c0..641a202 100644 --- a/src/neopixel_write.py +++ b/src/neopixel_write.py @@ -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 -- 2.49.0