Skip to content

Commit fcf5feb

Browse files
committed
Fix pylint complaints.
1 parent c713122 commit fcf5feb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

adafruit_esp32spi/adafruit_esp32spi.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ def set_pin_mode(self, pin, mode):
638638
else:
639639
pin_mode = mode
640640
resp = self._send_command_get_response(_SET_PIN_MODE_CMD,
641-
((pin,),(pin_mode,)))
641+
((pin,), (pin_mode,)))
642642
if resp[0][0] != 1:
643643
raise RuntimeError("Failed to set pin mode")
644644

@@ -650,7 +650,7 @@ def set_digital_write(self, pin, value):
650650
:param bool value: Value for the pin.
651651
"""
652652
resp = self._send_command_get_response(_SET_DIGITAL_WRITE_CMD,
653-
((pin,),(value,)))
653+
((pin,), (value,)))
654654
if resp[0][0] != 1:
655655
raise RuntimeError("Failed to write to pin")
656656

@@ -663,6 +663,6 @@ def set_analog_write(self, pin, analog_value):
663663
"""
664664
value = int(255 * analog_value)
665665
resp = self._send_command_get_response(_SET_ANALOG_WRITE_CMD,
666-
((pin,),(value,)))
666+
((pin,), (value,)))
667667
if resp[0][0] != 1:
668668
raise RuntimeError("Failed to write to pin")

0 commit comments

Comments
 (0)