From 45b48ee6c079606055ee79f4e3f5c4a98a38d977 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 23:10:36 +0000 Subject: [PATCH 1/2] chore: pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.8.3 → v0.8.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.3...v0.8.4) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] From 3b1c3a16c17d64080c6c196259f56c1290e9ccca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez-Mondrag=C3=B3n?= Date: Fri, 27 Dec 2024 12:05:52 -0600 Subject: [PATCH 2/2] chore: Make Ruff happy --- tests/core/rest/test_pagination.py | 4 ++-- tests/core/test_testing.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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