Skip to content

Commit

Permalink
Merge pull request #64 from adafruit/pylint-fix
Browse files Browse the repository at this point in the history
Fixed linting
  • Loading branch information
tekktrik authored Nov 11, 2022
2 parents bec68c2 + 4709166 commit 55cc95f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion adafruit_bme280/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,12 @@ def write_register_byte(self, register: int, value: int) -> None:
class SPI_Impl:
"Protocol implemenation for the SPI bus."

def __init__(self, spi: SPI, cs: DigitalInOut, baudrate: int = 100000) -> None:
def __init__(
self,
spi: SPI,
cs: DigitalInOut, # pylint: disable=invalid-name
baudrate: int = 100000,
) -> None:
from adafruit_bus_device import ( # pylint: disable=import-outside-toplevel
spi_device,
)
Expand Down

0 comments on commit 55cc95f

Please sign in to comment.