diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e3bfd2a9f..7256ef286 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -50,7 +50,7 @@ repos: - id: check-readthedocs - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.5.7 + rev: v0.6.1 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix, --show-fixes] diff --git a/singer_sdk/testing/factory.py b/singer_sdk/testing/factory.py index 9acadd3dc..42043bd74 100644 --- a/singer_sdk/testing/factory.py +++ b/singer_sdk/testing/factory.py @@ -140,7 +140,7 @@ def config(self) -> SuiteConfig: # noqa: PLR6301 return suite_config or SuiteConfig() @pytest.fixture - def resource(self) -> t.Any: # noqa: ANN401, PLR6301, PT004 + def resource(self) -> t.Any: # noqa: ANN401, PLR6301 yield # noqa: PT022 @pytest.fixture(scope="class") @@ -345,7 +345,7 @@ def config(self) -> SuiteConfig: # noqa: PLR6301 return suite_config or SuiteConfig() @pytest.fixture - def resource(self) -> t.Any: # noqa: ANN401, PLR6301, PT004 + def resource(self) -> t.Any: # noqa: ANN401, PLR6301 yield # noqa: PT022 @pytest.fixture