
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
14 lines
437 B
Python
14 lines
437 B
Python
# -*- coding: utf-8 -*-
|
|
"""python-escpos enables you to manipulate escpos-printers."""
|
|
|
|
__all__ = ["constants", "escpos", "exceptions", "printer"]
|
|
|
|
try:
|
|
from .version import version as __version__ # noqa
|
|
except ImportError: # pragma: no cover
|
|
raise ImportError(
|
|
"Failed to find (autogenerated) version.py. "
|
|
"This might be because you are installing from GitHub's tarballs, "
|
|
"use the PyPI ones."
|
|
)
|