Skip to content

Commit 156c13d

Browse files
authored
Merge pull request #212 from FoamyGuy/wrong_args_fix
Remove kwargs
2 parents b1eebc8 + 6379cc7 commit 156c13d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

adafruit_display_text/__init__.py

-4
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,6 @@ def __init__(
246246
tab_replacement: Tuple[int, str] = (4, " "),
247247
label_direction: str = "LTR",
248248
verbose: bool = False,
249-
**kwargs, # pylint: disable=unused-argument
250249
) -> None:
251250
# pylint: disable=too-many-arguments, too-many-locals
252251

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

274-
if "max_glyphs" in kwargs:
275-
print("Please update your code: 'max_glyphs' is not needed anymore.")
276-
277273
self._ascent, self._descent = self._get_ascent_descent()
278274
self._bounding_box = None
279275

0 commit comments

Comments
 (0)