Skip to content

Commit 98a90e2

Browse files
committed
update simpletest example for pylint
1 parent c16af0f commit 98a90e2

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

examples/displayio_layout_dial_simpletest.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,16 @@
22
#
33
# SPDX-License-Identifier: MIT
44
#############################
5-
# This is a trial of the Dial using Adafruit_DisplayIO_Layout
6-
#
5+
"""
6+
This is a basic demonstration of a Dial widget.
7+
"""
78

89
import time
910
import board
1011
import displayio
1112
import terminalio
1213
from adafruit_displayio_layout.widgets.dial import Dial
1314

14-
from adafruit_bitmap_font import bitmap_font
15-
1615
# Fonts used for the Dial tick labels
1716
tick_font = terminalio.FONT
1817

@@ -37,7 +36,7 @@
3736
min_value=minimum_value, # set the minimum value shown on the dial
3837
max_value=maximum_value, # set the maximum value shown on the dial
3938
tick_label_font=tick_font, # the font used for the tick labels
40-
tick_label_scale=2.0, # the scale factor for the tick label font
39+
tick_label_scale=2.0, # the scale factor for the tick label font
4140
)
4241

4342
my_group = displayio.Group(max_size=1)

0 commit comments

Comments
 (0)