diff --git a/src/escpos/cli.py b/src/escpos/cli.py index 7fb5a5e..02d3c04 100644 --- a/src/escpos/cli.py +++ b/src/escpos/cli.py @@ -9,9 +9,9 @@ It requires you to have a configuration file. See documentation for details. """ - import argparse import platform +from typing import Any try: import argcomplete @@ -95,7 +95,7 @@ DEMO_FUNCTIONS = { # parser: A dict of args for command_parsers.add_parser # defaults: A dict of args for subparser.set_defaults # arguments: A list of dicts of args for subparser.add_argument -ESCPOS_COMMANDS = [ +ESCPOS_COMMANDS: list[dict[str, Any]] = [ { "parser": { "name": "qr",