Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: pre-commit autoupdate #226

Merged
merged 2 commits into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions target_snowflake/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion target_snowflake/sinks.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class SnowflakeSink(SQLSink):

connector_class = SnowflakeConnector

def __init__( # noqa: PLR0913
def __init__(
self,
target: PluginBase,
stream_name: str,
Expand Down