Skip to content

Commit 1c19264

Browse files
author
Margaret Matocha
committed
trial to see if pylint too-many-instance-attributes can be overridden
1 parent 4acafa4 commit 1c19264

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

adafruit_display_text/label.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,17 @@ class Label(displayio.Group):
4343
properties will be the left edge of the bounding box, and in the center of a M
4444
glyph (if its one line), or the (number of lines * linespacing + M)/2. That is,
4545
it will try to have it be center-left as close as possible.
46-
46+
4747
:param Font font: A font class that has ``get_bounding_box`` and ``get_glyph``.
4848
Must include a capital M for measuring character size.
4949
:param str text: Text to display
5050
:param int max_glyphs: The largest quantity of glyphs we will display
5151
:param int color: Color of all text in RGB hex
5252
:param double line_spacing: Line spacing of text to display"""
5353

54+
# pylint: disable=too-many-instance-attributes
55+
# This has a lot of getters/setters, maybe it needs cleanup.
56+
5457
def __init__(
5558
self,
5659
font,

0 commit comments

Comments
 (0)