mirror of
https://github.com/python-escpos/python-escpos
synced 2025-09-13 09:09:58 +00:00
pyflakes3
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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:
|
||||
|
Reference in New Issue
Block a user