Skip to content

Commit

Permalink
Fixed linting
Browse files Browse the repository at this point in the history
  • Loading branch information
evaherrada committed Nov 9, 2022
1 parent df95fa9 commit f6eb26f
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 f6eb26f

Please sign in to comment.