Skip to content

Commit 52f6248

Browse files
committed
address super-with-arguments diagnostics
1 parent 62f609f commit 52f6248

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

adafruit_seesaw/keypad.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class Keypad(Seesaw):
8181
EDGE_RISING = 3
8282

8383
def __init__(self, i2c_bus, addr=0x49, drdy=None):
84-
super(Keypad, self).__init__(i2c_bus, addr, drdy)
84+
super().__init__(i2c_bus, addr, drdy)
8585
self._interrupt_enabled = False
8686

8787
@property

adafruit_seesaw/tftshield18.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class TFTShield18(Seesaw):
8484
_button_mask = 0xFF
8585

8686
def __init__(self, i2c_bus=board.I2C(), addr=0x2E):
87-
super(TFTShield18, self).__init__(i2c_bus, addr)
87+
super().__init__(i2c_bus, addr)
8888
self.pin_mode(_TFTSHIELD_RESET_PIN, self.OUTPUT)
8989
self.pin_mode_bulk(self._button_mask, self.INPUT_PULLUP)
9090

0 commit comments

Comments
 (0)