Skip to content

Commit

Permalink
chore: pre-commit autoupdate (#226)
Browse files Browse the repository at this point in the history
<!--pre-commit.ci start-->
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.5.2 →
v0.5.4](astral-sh/ruff-pre-commit@v0.5.2...v0.5.4)
- [github.com/pre-commit/mirrors-mypy: v1.10.1 →
v1.11.0](pre-commit/mirrors-mypy@v1.10.1...v1.11.0)
<!--pre-commit.ci end-->

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Jul 22, 2024
1 parent b79dbd3 commit d90b055
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
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

0 comments on commit d90b055

Please sign in to comment.