Skip to content

Commit c7b667b

Browse files
committed
disable some lint checks
1 parent e6040cf commit c7b667b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_display_text/text_box.py

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

4141

42-
# pylint: disable=too-many-instance-attributes
42+
# pylint: disable=too-many-instance-attributes, duplicate-code
4343
class TextBox(bitmap_label.Label):
4444
"""
4545
TextBox has a constrained width and optionally height.
@@ -120,7 +120,7 @@ def _place_text(
120120
# when copying glyph bitmaps (this is important for slanted text
121121
# where rectangular glyph boxes overlap)
122122
) -> Tuple[int, int, int, int]:
123-
# pylint: disable=too-many-arguments, too-many-locals
123+
# pylint: disable=too-many-arguments, too-many-locals, too-many-statements, too-many-branches
124124

125125
# placeText - Writes text into a bitmap at the specified location.
126126
#

0 commit comments

Comments
 (0)