Skip to content

Commit a6b1843

Browse files
committed
Disable new generator check in example
1 parent 28bbc74 commit a6b1843

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/rgb_display_pillow_bonnet_buttons.py

+1
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@
156156
draw.ellipse((190, 40, 230, 80), outline=button_outline, fill=B_fill) # B button
157157

158158
# make a random color and print text
159+
# pylint: disable=consider-using-generator
159160
rcolor = tuple([int(x * 255) for x in hsv_to_rgb(random.random(), 1, 1)])
160161
draw.text((20, 150), "Hello World", font=fnt, fill=rcolor)
161162
rcolor = tuple([int(x * 255) for x in hsv_to_rgb(random.random(), 1, 1)])

0 commit comments

Comments
 (0)