Skip to content

Commit

Permalink
Merge pull request #19 from adafruit/pylint-fix
Browse files Browse the repository at this point in the history
Fixed linting
  • Loading branch information
tekktrik committed Nov 11, 2022
2 parents d1f0d70 + 5967f24 commit 2e25702
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion adafruit_vs1053.py
Expand Up @@ -99,7 +99,9 @@ class VS1053:
# This is NOT thread/re-entrant safe (by design, for less memory hit).
_SCI_SPI_BUFFER = bytearray(4)

def __init__(self, spi: SPI, cs: Pin, xdcs: Pin, dreq: Pin) -> None:
def __init__( # pylint: disable=invalid-name
self, spi: SPI, cs: Pin, xdcs: Pin, dreq: Pin
) -> None:
# Create SPI device for VS1053
self._cs = digitalio.DigitalInOut(cs)
self._vs1053_spi = SPIDevice(
Expand Down

0 comments on commit 2e25702

Please sign in to comment.