Commit f879f92
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
570 | 570 | | |
571 | 571 | | |
572 | 572 | | |
573 | | - | |
| 573 | + | |
574 | 574 | | |
575 | 575 | | |
576 | 576 | | |
| |||
0 commit comments