diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4a106bc..bc324a0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,13 +7,13 @@ ci: repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.8.6 + rev: v0.9.1 hooks: - id: ruff - id: ruff-format - repo: https://github.com/gitleaks/gitleaks - rev: v8.22.1 + rev: v8.23.0 hooks: - id: gitleaks diff --git a/test/test_staged_script.py b/test/test_staged_script.py index ae73784..72ff774 100644 --- a/test/test_staged_script.py +++ b/test/test_staged_script.py @@ -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, diff --git a/test/test_staged_script_registered_stages.py b/test/test_staged_script_registered_stages.py index 5fbb7ce..c18a3a2 100644 --- a/test/test_staged_script_registered_stages.py +++ b/test/test_staged_script_registered_stages.py @@ -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", ]: