1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-07-15 08:43:30 +00:00

add types for serial

This commit is contained in:
Patrick Kanzler 2023-08-25 00:33:02 +02:00
parent 46a3dd4eef
commit c8edfbdf47
2 changed files with 2 additions and 1 deletions

View File

@ -116,7 +116,7 @@ class Escpos(object):
device = None device = None
def __init__(self, profile=None, magic_encode_args=None, **kwargs): def __init__(self, profile=None, magic_encode_args=None, **kwargs) -> None:
"""Initialize ESCPOS Printer. """Initialize ESCPOS Printer.
:param profile: Printer profile :param profile: Printer profile

View File

@ -53,5 +53,6 @@ deps = mypy
types-PyYAML types-PyYAML
types-appdirs types-appdirs
types-Pillow types-Pillow
types-pyserial
jaconv jaconv
commands = mypy src commands = mypy src