Skip to content

Commit

Permalink
type: ignore argparse override
Browse files Browse the repository at this point in the history
  • Loading branch information
brentyi committed Jan 29, 2025
1 parent 0b93489 commit 2d6c6a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tyro/_argparse_formatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ def _print_message(self, message, file=None):
pass

@override
def _parse_known_args(self, arg_strings, namespace): # pragma: no cover
def _parse_known_args(self, arg_strings, namespace): # pragma: no cover, type: ignore
"""We override _parse_known_args() to improve error messages in the presence of
subcommands. Difference is marked with <new>...</new> below."""

Expand Down

0 comments on commit 2d6c6a8

Please sign in to comment.