Skip to content

Commit 9a828a0

Browse files
committed
running pre-commit
Forgot pre-commit 🤦‍♀️
1 parent 9eb5b55 commit 9a828a0

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

examples/tca8418_3x4_OLED.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@
1818
tca = TCA8418(i2c)
1919
display_bus = displayio.I2CDisplay(i2c, device_address=0x3D, reset=oled_reset)
2020

21-
keymap = (('*', '0', '#'),
22-
('7', '8', '9'),
23-
('4', '5', '6'),
24-
('1', '2', '3'))
21+
keymap = (("*", "0", "#"), ("7", "8", "9"), ("4", "5", "6"), ("1", "2", "3"))
2522

2623
# set up all R0-R2 pins and C0-C3 pins as keypads
2724
KEYPADPINS = (
@@ -59,12 +56,14 @@
5956
# text area setup
6057
title_text = "TCA8418 Demo"
6158
title_area = label.Label(
62-
terminalio.FONT, text=title_text, color=0xFFFFFF, x=10, y=10 // 2+1)
59+
terminalio.FONT, text=title_text, color=0xFFFFFF, x=10, y=10 // 2 + 1
60+
)
6361
splash.append(title_area)
6462

6563
key_text = " "
6664
key_area = label.Label(
67-
terminalio.FONT, text=key_text, color=0xFFFFFF, x=10, y=HEIGHT // 2+1)
65+
terminalio.FONT, text=key_text, color=0xFFFFFF, x=10, y=HEIGHT // 2 + 1
66+
)
6867
splash.append(key_area)
6968

7069
while True:

0 commit comments

Comments
 (0)