fix(mypy): Add type annotation to fix no-any-return error · tmux-python/tmuxp@f879f92 · GitHub
Skip to content

Commit f879f92

Browse files
committed
fix(mypy): Add type annotation to fix no-any-return error
The sphinx_argparse_neo module is in mypy's ignore_missing_imports, causing strip_ansi's return type to be treated as Any. Adding explicit str annotation ensures mypy knows the variable type throughout the function.
1 parent 5a79fc6 commit f879f92

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎docs/_ext/sphinx_argparse_neo/parser.py‎

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)