Skip to content

Commit 19ed6ae

Browse files
author
Ricahrd Hammond
committed
Add type hint
1 parent acd6806 commit 19ed6ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd2/decorators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def _set_parser_prog(parser: argparse.ArgumentParser, prog: str) -> None:
209209
"""
210210
# Set the prog value for this parser
211211
parser.prog = prog
212-
req_args = []
212+
req_args: List[str] = []
213213

214214
# Set the prog value for the parser's subcommands
215215
for action in parser._actions:

0 commit comments

Comments
 (0)