diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a4e15a3..f490fc8 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.5.2 + rev: v0.5.4 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.10.1 + rev: v1.11.0 hooks: - id: mypy additional_dependencies: diff --git a/target_snowflake/connector.py b/target_snowflake/connector.py index cdc9109..78a971a 100644 --- a/target_snowflake/connector.py +++ b/target_snowflake/connector.py @@ -355,7 +355,7 @@ def _get_column_selections( ) return column_selections - def _get_merge_from_stage_statement( # noqa: ANN202, PLR0913 + def _get_merge_from_stage_statement( # noqa: ANN202 self, full_table_name: str, schema: dict, @@ -477,7 +477,7 @@ def create_file_format(self, file_format: str) -> None: ) conn.execute(file_format_statement, **kwargs) - def merge_from_stage( # noqa: PLR0913 + def merge_from_stage( self, full_table_name: str, schema: dict, diff --git a/target_snowflake/sinks.py b/target_snowflake/sinks.py index c690517..fc980fb 100644 --- a/target_snowflake/sinks.py +++ b/target_snowflake/sinks.py @@ -34,7 +34,7 @@ class SnowflakeSink(SQLSink): connector_class = SnowflakeConnector - def __init__( # noqa: PLR0913 + def __init__( self, target: PluginBase, stream_name: str,