1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-09-13 09:09:58 +00:00

pyflakes3

This commit is contained in:
Alexandre Detiste
2023-12-10 22:59:37 +01:00
parent 5bd936b585
commit 324a236ae6
6 changed files with 25 additions and 28 deletions

View File

@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
"""python-escpos enables you to manipulate escpos-printers."""
__all__ = ["constants", "escpos", "exceptions", "printer"]
__all__ = ["constants", "escpos", "exceptions", "printer", "__version__"]
try:
from .version import version as __version__ # noqa

View File

@@ -4,7 +4,6 @@ This module contains the implementations of abstract base class :py:class:`Confi
"""
import os
import pathlib
from typing import Optional
import appdirs
import yaml

View File

@@ -11,7 +11,7 @@ except ImportError:
jaconv = None
def encode_katakana(text):
def encode_katakana(text: str) -> bytes:
"""I don't think this quite works yet."""
encoded = []
for char in text: