From 863c1730fd1f18f2a995dbc667f64f589edd86a1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 18:33:21 -0600 Subject: [PATCH] chore: pre-commit autoupdate (#2735) 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.7.0 → v0.7.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.7.0...v0.7.1) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- singer_sdk/mapper_base.py | 2 +- singer_sdk/testing/templates.py | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c3deb16f5..0f1adb792 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.7.0 + rev: v0.7.1 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix, --show-fixes] diff --git a/singer_sdk/mapper_base.py b/singer_sdk/mapper_base.py index 626133787..650552f5f 100644 --- a/singer_sdk/mapper_base.py +++ b/singer_sdk/mapper_base.py @@ -90,7 +90,7 @@ def map_activate_version_message( def map_batch_message( # noqa: PLR6301 self, - message_dict: dict, # noqa: ARG002 + message_dict: dict, ) -> t.Iterable[singer.Message]: """Map a batch message to zero or more new messages. diff --git a/singer_sdk/testing/templates.py b/singer_sdk/testing/templates.py index 259811057..302fc7efd 100644 --- a/singer_sdk/testing/templates.py +++ b/singer_sdk/testing/templates.py @@ -249,9 +249,9 @@ def non_null_attribute_values(self) -> list[t.Any]: @classmethod def evaluate( cls, - stream: Stream, # noqa: ARG003 - property_name: str, # noqa: ARG003 - property_schema: dict, # noqa: ARG003 + stream: Stream, + property_name: str, + property_schema: dict, ) -> bool: """Determine if this attribute test is applicable to the given property.