Skip to content

Commit 55cc95f

Browse files
authored
Merge pull request #64 from adafruit/pylint-fix
Fixed linting
2 parents bec68c2 + 4709166 commit 55cc95f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

adafruit_bme280/protocol.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,12 @@ def write_register_byte(self, register: int, value: int) -> None:
3434
class SPI_Impl:
3535
"Protocol implemenation for the SPI bus."
3636

37-
def __init__(self, spi: SPI, cs: DigitalInOut, baudrate: int = 100000) -> None:
37+
def __init__(
38+
self,
39+
spi: SPI,
40+
cs: DigitalInOut, # pylint: disable=invalid-name
41+
baudrate: int = 100000,
42+
) -> None:
3843
from adafruit_bus_device import ( # pylint: disable=import-outside-toplevel
3944
spi_device,
4045
)

0 commit comments

Comments
 (0)