From c19692245cfe681389a1e9ddb2401340cf08759d Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Sun, 1 Jun 2025 13:53:42 -0700 Subject: [PATCH] no more pylint --- python/spi.py | 2 +- scripts/development/register_hashmap_spread.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/spi.py b/python/spi.py index 2b086dc2..cee8755e 100644 --- a/python/spi.py +++ b/python/spi.py @@ -103,7 +103,7 @@ class SpiDevice: with SPI_LOCK: if speed not in SPI_DEVICES: - SPI_DEVICES[speed] = spidev.SpiDev() # pylint: disable=c-extension-no-member + SPI_DEVICES[speed] = spidev.SpiDev() SPI_DEVICES[speed].open(0, 0) SPI_DEVICES[speed].max_speed_hz = speed self._spidev = SPI_DEVICES[speed] diff --git a/scripts/development/register_hashmap_spread.py b/scripts/development/register_hashmap_spread.py index 3e20e584..854ddd14 100755 --- a/scripts/development/register_hashmap_spread.py +++ b/scripts/development/register_hashmap_spread.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -import matplotlib.pyplot as plt # pylint: disable=import-error +import matplotlib.pyplot as plt HASHING_PRIME = 23 REGISTER_MAP_SIZE = 0x3FF