From 124297b53b0a4b81195bcbe8c045086284535153 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 13:50:52 -0600 Subject: [PATCH] chore: pre-commit autoupdate (#160) 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) --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 4 ++-- target_snowflake/__init__.py | 1 + target_snowflake/sinks.py | 1 + tests/batch.py | 1 + tests/conftest.py | 1 + 5 files changed, 6 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: 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",)