Skip to content

Commit

Permalink
refactor: Address Ruff-specific lint findings
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgate committed Apr 22, 2024
1 parent 3c2bc65 commit e7b5af8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

project = "reverse_argparse"
copyright = ( # noqa: A001
"2023–2024, National Technology & Engineering Solutions of Sandia, LLC "
"(NTESS)"
"2023–2024, National Technology & Engineering Solutions " # noqa: RUF001
"of Sandia, LLC (NTESS)"
)
author = "Jason M. Gates"
version = "1.0.6"
Expand Down
2 changes: 1 addition & 1 deletion reverse_argparse/reverse_argparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ def _unparse_extend_action(self, action: Action) -> None:
values = getattr(self._namespace, action.dest)
if values is not None:
self._append_list_of_args(
[self._get_option_string(action)] + values
[self._get_option_string(action), *values]
)

def _unparse_boolean_optional_action(self, action: Action) -> None:
Expand Down

0 comments on commit e7b5af8

Please sign in to comment.