Skip to content

Commit b14b945

Browse files
author
Margaret Matocha
committed
Added pylint: disable=no-self-use on getters that throw errors
1 parent e443db2 commit b14b945

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

adafruit_display_text/bitmap_label.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,7 @@ def line_spacing(self):
420420
bounding-box height. (E.g. 1.0 is the bounding-box height)"""
421421
return self._line_spacing
422422

423+
# pylint: disable=no-self-use
423424
@line_spacing.setter
424425
def line_spacing(self, new_line_spacing):
425426
raise RuntimeError(
@@ -461,6 +462,7 @@ def text(self):
461462
"""Text to displayed."""
462463
return self._text
463464

465+
# pylint: disable=no-self-use
464466
@text.setter
465467
def text(self, new_text):
466468
raise RuntimeError(
@@ -472,6 +474,7 @@ def font(self):
472474
"""Font to use for text display."""
473475
return self.font
474476

477+
# pylint: disable=no-self-use
475478
@font.setter
476479
def font(self, new_font):
477480
raise RuntimeError(

0 commit comments

Comments
 (0)