Skip to content

Commit

Permalink
Merge pull request #212 from FoamyGuy/wrong_args_fix
Browse files Browse the repository at this point in the history
Remove kwargs
  • Loading branch information
FoamyGuy authored Nov 15, 2024
2 parents b1eebc8 + 6379cc7 commit 156c13d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions adafruit_display_text/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,6 @@ def __init__(
tab_replacement: Tuple[int, str] = (4, " "),
label_direction: str = "LTR",
verbose: bool = False,
**kwargs, # pylint: disable=unused-argument
) -> None:
# pylint: disable=too-many-arguments, too-many-locals

Expand All @@ -271,9 +270,6 @@ def __init__(
self._tab_text = self._tab_replacement[1] * self._tab_replacement[0]
self._verbose = verbose

if "max_glyphs" in kwargs:
print("Please update your code: 'max_glyphs' is not needed anymore.")

self._ascent, self._descent = self._get_ascent_descent()
self._bounding_box = None

Expand Down

0 comments on commit 156c13d

Please sign in to comment.