From 2d755013a37f5fc4d25a42f7f7ef25bfbf1864bd Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 27 Dec 2024 12:10:43 -0600 Subject: [PATCH] chore: pre-commit autoupdate (#2817) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: pre-commit autoupdate 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) * chore: Make Ruff happy --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Edgar Ramírez Mondragón <16805946+edgarrmondragon@users.noreply.github.com> Co-authored-by: Edgar Ramírez-Mondragón --- .pre-commit-config.yaml | 2 +- tests/core/rest/test_pagination.py | 4 ++-- tests/core/test_testing.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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