From e32fde7579978d53f19868a785d6bff0e33b547f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 12 Mar 2024 19:38:19 +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.2.2 → v0.3.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.2.2...v0.3.2) - [github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.9.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.8.0...v1.9.0) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 22d9c1c..322dee4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,14 +20,14 @@ repos: - id: check-github-workflows - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.2.2 + rev: v0.3.2 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.8.0 + rev: v1.9.0 hooks: - id: mypy additional_dependencies: From c10a8d47ced285a395fae93e8263eab73f1b0431 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 12 Mar 2024 19:39:45 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- target_snowflake/__init__.py | 1 + target_snowflake/sinks.py | 1 + tests/batch.py | 1 + tests/conftest.py | 1 + 4 files changed, 4 insertions(+) diff --git a/target_snowflake/__init__.py b/target_snowflake/__init__.py index 66819ec..76bec69 100644 --- a/target_snowflake/__init__.py +++ b/target_snowflake/__init__.py @@ -1,4 +1,5 @@ """Singer.io Target for the Snowflake data warehouse platform.""" + from __future__ import annotations __version__ = "0.0.0" diff --git a/target_snowflake/sinks.py b/target_snowflake/sinks.py index 63d99f1..c690517 100644 --- a/target_snowflake/sinks.py +++ b/target_snowflake/sinks.py @@ -1,4 +1,5 @@ """Snowflake target sink class, which handles writing streams.""" + from __future__ import annotations import os diff --git a/tests/batch.py b/tests/batch.py index 315c86b..b3595a2 100644 --- a/tests/batch.py +++ b/tests/batch.py @@ -1,4 +1,5 @@ """BATCH Tests for Target Snowflake.""" + from __future__ import annotations import typing as t diff --git a/tests/conftest.py b/tests/conftest.py index 4133230..3a8eaea 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,4 +1,5 @@ """Test Configuration.""" + from __future__ import annotations pytest_plugins = ("singer_sdk.testing.pytest_plugin",)