Skip to content

Commit cac8a77

Browse files
committed
Stoping black from putting a table on a line.
1 parent 6270f09 commit cac8a77

File tree

1 file changed

+9
-28
lines changed

1 file changed

+9
-28
lines changed

examples/is31fl3731_ledshim_rainbow.py

Lines changed: 9 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -8,37 +8,18 @@
88
# initial display if you are using Pimoroni LED SHIM
99
display = Display(i2c)
1010

11+
# fmt: off
1112
# This list 28 colors from a rainbow...
1213
rainbow = [
13-
(255, 0, 0),
14-
(255, 54, 0),
15-
(255, 109, 0),
16-
(255, 163, 0),
17-
(255, 218, 0),
18-
(236, 255, 0),
19-
(182, 255, 0),
20-
(127, 255, 0),
21-
(72, 255, 0),
22-
(18, 255, 0),
23-
(0, 255, 36),
24-
(0, 255, 91),
25-
(0, 255, 145),
26-
(0, 255, 200),
27-
(0, 255, 255),
28-
(0, 200, 255),
29-
(0, 145, 255),
30-
(0, 91, 255),
31-
(0, 36, 255),
32-
(18, 0, 255),
33-
(72, 0, 255),
34-
(127, 0, 255),
35-
(182, 0, 255),
36-
(236, 0, 255),
37-
(255, 0, 218),
38-
(255, 0, 163),
39-
(255, 0, 109),
40-
(255, 0, 54),
14+
(255, 0, 0), (255, 54, 0), (255, 109, 0), (255, 163, 0),
15+
(255, 218, 0), (236, 255, 0), (182, 255, 0), (127, 255, 0),
16+
(72, 255, 0), (18, 255, 0), (0, 255, 36), (0, 255, 91),
17+
(0, 255, 145), (0, 255, 200), (0, 255, 255), (0, 200, 255),
18+
(0, 145, 255), (0, 91, 255), (0, 36, 255), (18, 0, 255),
19+
(72, 0, 255), (127, 0, 255), (182, 0, 255), (236, 0, 255),
20+
(255, 0, 218), (255, 0, 163), (255, 0, 109), (255, 0, 54),
4121
]
22+
# fmt: on
4223

4324

4425
for y in range(3):

0 commit comments

Comments
 (0)