Skip to content

Commit

Permalink
Merge pull request #24 from adafruit/pylint-fix
Browse files Browse the repository at this point in the history
Fixed linting
  • Loading branch information
tekktrik authored Nov 10, 2022
2 parents df95fa9 + f6eb26f commit 4530c38
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion adafruit_max31856.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,10 @@ class MAX31856:
_BUFFER = bytearray(4)

def __init__(
self, spi: SPI, cs: DigitalInOut, thermocouple_type: int = ThermocoupleType.K
self,
spi: SPI,
cs: DigitalInOut, # pylint: disable=invalid-name
thermocouple_type: int = ThermocoupleType.K,
) -> None:
self._device = SPIDevice(spi, cs, baudrate=500000, polarity=0, phase=1)

Expand Down

0 comments on commit 4530c38

Please sign in to comment.