From 2bc8b6bef2b36faee53b8d1edb479263020c5f80 Mon Sep 17 00:00:00 2001 From: Ricahrd Hammond Date: Thu, 15 Feb 2024 15:28:03 -0500 Subject: [PATCH] Add type hint --- cmd2/decorators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd2/decorators.py b/cmd2/decorators.py index fdebdd4e..6d0a139f 100644 --- a/cmd2/decorators.py +++ b/cmd2/decorators.py @@ -209,7 +209,7 @@ def _set_parser_prog(parser: argparse.ArgumentParser, prog: str) -> None: """ # Set the prog value for this parser parser.prog = prog - req_args = [] + req_args: List[str] = [] # Set the prog value for the parser's subcommands for action in parser._actions: