Skip to content

Commit 4941869

Browse files
committed
Resolve linting errors
1 parent 7e936dd commit 4941869

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

adafruit_pybadger.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,9 @@ def __init__(self, i2c=None, *, pixels_brightness=1.0):
141141
self._sine_wave = None
142142
self._sine_wave_sample = None
143143

144+
# pylint: disable=too-many-locals
144145
def _create_label_group(self, text, font, scale, height_adjustment, color=0xFFFFFF, width_adjustment=2, line_spacing=0.75):
145-
"""Create a label group with the given text, font, scale, and spacing."""
146+
"""Create a label group with the given text, font, and spacing"""
146147
# If the given font is a string, treat it as a file path and try to load it
147148
if isinstance(font, str):
148149
font = load_font(font)

0 commit comments

Comments
 (0)