Skip to content

Commit 161b99b

Browse files
author
Kevin J Walters
committed
Make pylint happy. #166
1 parent fd656fc commit 161b99b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

adafruit_display_text/bitmap_label.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
from adafruit_display_text import LabelBase
4141

42-
42+
# pylint: disable=too-many-instance-attributes
4343
class Label(LabelBase):
4444
"""A label displaying a string of text that is stored in a bitmap.
4545
Note: This ``bitmap_label.py`` library utilizes a :py:class:`~displayio.Bitmap`
@@ -236,8 +236,8 @@ def _reset_text(
236236

237237
# Set TileGrid properties based on label_direction
238238
if self._label_direction != self._prev_label_direction:
239-
tg = self._tilegrid
240-
tg.transpose_xy, tg.flip_x, tg.flip_y = self._DIR_MAP[
239+
tg1 = self._tilegrid
240+
tg1.transpose_xy, tg1.flip_x, tg1.flip_y = self._DIR_MAP[
241241
self._label_direction
242242
]
243243

0 commit comments

Comments
 (0)