1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-08-24 09:03:34 +00:00

update organize import trigger, update capabilities data, fix mypy (#654)

* update organize import trigger

* update capabilities data

* fix mypy error (jaconv is using a import hack)
This commit is contained in:
Patrick Kanzler
2024-08-25 00:21:47 +02:00
committed by GitHub
parent 82386f7496
commit 22982fbd12
4 changed files with 8 additions and 3 deletions

View File

@@ -7,7 +7,8 @@
:copyright: Copyright (c) 2016 `python-escpos <https://github.com/python-escpos>`_
:license: MIT
"""
import types
import typing
import hypothesis.strategies as st
import pytest
@@ -111,6 +112,7 @@ class TestMagicEncode:
assert driver.output == b"\x1bt\x00? ist teuro."
jaconv: typing.Optional[types.ModuleType]
try:
import jaconv
except ImportError: