Skip to content

Commit ecce915

Browse files
pre-commit-ci[bot]jmgate
authored andcommitted
refactor: Fix issues from ruff-pre-commit update
1 parent 0db8a6a commit ecce915

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/test_staged_script.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,7 @@ def test_run_dry_run(
247247
],
248248
)
249249
@patch(
250-
"reverse_argparse.ReverseArgumentParser."
251-
"get_pretty_command_line_invocation"
250+
"reverse_argparse.ReverseArgumentParser.get_pretty_command_line_invocation"
252251
)
253252
def test_print_script_execution_summary(
254253
mock_get_pretty_command_line_invocation: MagicMock,

test/test_staged_script_registered_stages.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ def test_parser_no_registered_stages() -> None:
3434
script = MyScript(set())
3535
help_text = script.parser.format_help()
3636
for text in [
37-
"Options for retrying stages" "-retry-attempts",
37+
"Options for retrying stages",
38+
"-retry-attempts",
3839
"-retry-delay",
3940
"-retry-timeout",
4041
]:

0 commit comments

Comments
 (0)