Skip to content

Commit

Permalink
refactor: Fix issues from ruff-pre-commit update
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] authored and jmgate committed Jan 13, 2025
1 parent 0db8a6a commit ecce915
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions test/test_staged_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,7 @@ def test_run_dry_run(
],
)
@patch(
"reverse_argparse.ReverseArgumentParser."
"get_pretty_command_line_invocation"
"reverse_argparse.ReverseArgumentParser.get_pretty_command_line_invocation"
)
def test_print_script_execution_summary(
mock_get_pretty_command_line_invocation: MagicMock,
Expand Down
3 changes: 2 additions & 1 deletion test/test_staged_script_registered_stages.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ def test_parser_no_registered_stages() -> None:
script = MyScript(set())
help_text = script.parser.format_help()
for text in [
"Options for retrying stages" "-retry-attempts",
"Options for retrying stages",
"-retry-attempts",
"-retry-delay",
"-retry-timeout",
]:
Expand Down

0 comments on commit ecce915

Please sign in to comment.