Skip to content

Commit 3443b3c

Browse files
committed
fine pylint have it your way
1 parent 490a166 commit 3443b3c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

adafruit_seesaw/seesaw.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -449,15 +449,14 @@ def _get_eeprom_i2c_addr(self):
449449
_ATTINY817_HW_ID_CODE,
450450
):
451451
return 0x7F
452-
elif chip_id in (
452+
if chip_id in (
453453
_ATTINY1616_HW_ID_CODE,
454454
_ATTINY1617_HW_ID_CODE,
455455
):
456456
return 0xFF
457-
elif chip_id in (_SAMD09_HW_ID_CODE,):
457+
if chip_id in (_SAMD09_HW_ID_CODE,):
458458
return 0x3F
459-
else:
460-
return None
459+
return None
461460

462461
def set_i2c_addr(self, addr):
463462
"""Store a new address in the device's EEPROM and reboot it."""

0 commit comments

Comments
 (0)