Skip to content

Commit

Permalink
chore: pre-commit autoupdate (#1723)
Browse files Browse the repository at this point in the history
* chore: pre-commit autoupdate

updates:
- [github.com/charliermarsh/ruff-pre-commit: v0.0.267 → v0.0.269](astral-sh/ruff-pre-commit@v0.0.267...v0.0.269)
- [github.com/python-poetry/poetry: 1.4.0 → 1.5.0](python-poetry/poetry@1.4.0...1.5.0)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored May 23, 2023
1 parent afc5c67 commit 570d1b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ repos:
)$
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.267
rev: v0.0.269
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down Expand Up @@ -69,6 +69,6 @@ repos:
)$
- repo: https://github.com/python-poetry/poetry
rev: 1.4.0
rev: 1.5.0
hooks:
- id: poetry-check
2 changes: 1 addition & 1 deletion singer_sdk/sinks/sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ def activate_version(self, new_version: int) -> None:
)

query = sqlalchemy.text(
f"UPDATE {self.full_table_name}\n" # noqa: S608
f"UPDATE {self.full_table_name}\n"
f"SET {self.soft_delete_column_name} = :deletedate \n"
f"WHERE {self.version_column_name} < :version \n"
f" AND {self.soft_delete_column_name} IS NULL\n",
Expand Down

0 comments on commit 570d1b2

Please sign in to comment.