10 Commits

Author SHA1 Message Date
belono
41eaa52397 Move _device type annotations to __init__() 2023-10-09 12:09:50 +02:00
belono
3f775fbaa8 Fix type checking - per device type annotations 2023-10-08 21:16:23 +02:00
Benito López
0d82a00103
Update src/escpos/printer/usb.py
Add return type

Co-authored-by: Patrick Kanzler <4189642+patkan@users.noreply.github.com>
2023-09-25 18:46:37 +02:00
belono
0984c93975 Fix type checking 2023-09-22 19:58:26 +02:00
belono
2bd11b38d5 Enhance connectors consistency 2023-09-16 19:55:31 +02:00
belono
e8814e4acb Fix mypy complains 2023-09-06 23:13:58 +02:00
belono
a7e7bc0a64 Add default value to all params + type annotations 2023-09-06 23:13:57 +02:00
belono
7103af083c Restore device status to False on close() 2023-09-03 20:42:09 +02:00
belono
d68eee08a7 Separate open() and store connection in 'device' 2023-08-28 11:52:48 +02:00
Patrick Kanzler
3177c8d411
split off dependencies for optional installation (#546)
* add inheritance diagrams to all printers and exceptions
* split off printer implementations into separate files
* add wrapper that thros RuntimeError if not importable
* add dependency check for lp
* add dependency check for pyserial
* added check for usability
* import Win32Raw
* include WIn32Raw in documentation
* enable all extras on tox
* update github workflow
2023-08-17 01:37:50 +02:00