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",)