diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 46a1f60cc..909f68891 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -44,7 +44,7 @@ repos: - id: check-readthedocs - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.8.3 + rev: v0.8.4 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix, --show-fixes] diff --git a/tests/core/rest/test_pagination.py b/tests/core/rest/test_pagination.py index 6ef34f139..7425e22ce 100644 --- a/tests/core/rest/test_pagination.py +++ b/tests/core/rest/test_pagination.py @@ -32,7 +32,7 @@ def test_paginator_base_missing_implementation(): with pytest.raises( TypeError, - match="Can't instantiate abstract class .* '?get_next'?", + match=r"Can't instantiate abstract class .* '?get_next'?", ): BaseAPIPaginator(0) @@ -57,7 +57,7 @@ def test_paginator_hateoas_missing_implementation(): with pytest.raises( TypeError, - match="Can't instantiate abstract class .* '?get_next_url'?", + match=r"Can't instantiate abstract class .* '?get_next_url'?", ): BaseHATEOASPaginator() diff --git a/tests/core/test_testing.py b/tests/core/test_testing.py index 28f792ef3..9a63a172e 100644 --- a/tests/core/test_testing.py +++ b/tests/core/test_testing.py @@ -18,7 +18,7 @@ def test_module_deprecations(): with pytest.raises( AttributeError, - match="module singer_sdk.testing has no attribute", + match="module singer_sdk\\.testing has no attribute", ): testing.foo # noqa: B018