Skip to content

Commit 9846796

Browse files
committed
pylint fixes
1 parent 1a47464 commit 9846796

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_display_text/bitmap_label.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class Label(displayio.Group):
8888
"""
8989

9090
# pylint: disable=unused-argument, too-many-instance-attributes, too-many-locals, too-many-arguments
91-
# pylint: disable=too-many-branches, no-self-use
91+
# pylint: disable=too-many-branches, no-self-use, too-many-statements
9292
# Note: max_glyphs parameter is unnecessary, this is used for direct
9393
# compatibility with label.py
9494

@@ -495,7 +495,7 @@ def _place_text(
495495
skip_index=0, # do not copy over any 0 background pixels
496496
)
497497

498-
except:
498+
except AttributeError:
499499
for y in range(my_glyph.height):
500500
for x in range(my_glyph.width):
501501
x_placement = x + xposition + my_glyph.dx

0 commit comments

Comments
 (0)