mirror of
https://github.com/python-escpos/python-escpos
synced 2025-09-13 09:09:58 +00:00
Drop Py37, improve typing and docstrings (#544)
Drops Py3.7, improves typing and adds a mypy config, improves the docstrings and isorts the imports. * configure isort * sort with isort * add github action * enable flake8-docstrings * fix docstrings * add mypy env * no implicit optional * add type for raw * add some type hints
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
import six
|
||||
|
||||
import escpos.printer as printer
|
||||
from escpos.constants import TXT_NORMAL, TXT_STYLE, SET_FONT
|
||||
from escpos.constants import TXT_SIZE
|
||||
|
||||
from escpos.constants import SET_FONT, TXT_NORMAL, TXT_SIZE, TXT_STYLE
|
||||
|
||||
# Default test, please copy and paste this block to test set method calls
|
||||
|
||||
|
Reference in New Issue
Block a user