Skip to content

Commit

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

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.9.2 → v0.9.3](astral-sh/ruff-pre-commit@v0.9.2...v0.9.3)
- [github.com/python-poetry/poetry: 2.0.0 → 2.0.1](python-poetry/poetry@2.0.0...2.0.1)

* [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>
Co-authored-by: Edgar Ramírez Mondragón <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and edgarrmondragon authored Jan 28, 2025
1 parent a4f663e commit 6ed507e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ repos:
- id: check-readthedocs

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.2
rev: v0.9.3
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix, --show-fixes]
Expand All @@ -59,6 +59,6 @@ repos:
)$
- repo: https://github.com/python-poetry/poetry
rev: 2.0.0
rev: 2.0.1
hooks:
- id: poetry-check
2 changes: 1 addition & 1 deletion singer_sdk/mapper_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def map_activate_version_message(
"""
...

def map_batch_message( # noqa: PLR6301
def map_batch_message(
self,
message_dict: dict,
) -> t.Iterable[singer.Message]:
Expand Down
6 changes: 3 additions & 3 deletions singer_sdk/testing/templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def id(self) -> str:
msg = "ID not implemented."
raise NotImplementedError(msg)

def setup(self) -> None: # noqa: PLR6301
def setup(self) -> None:
"""Test setup, called before `.test()`.
This method is useful for preparing external resources (databases, folders etc.)
Expand All @@ -63,7 +63,7 @@ def test(self) -> None:
"""Main Test body, called after `.setup()` and before `.validate()`."""
self.runner.sync_all()

def validate(self) -> None: # noqa: PLR6301
def validate(self) -> None:
"""Test validation, called after `.test()`.
This method is particularly useful in Target tests, to validate that records
Expand All @@ -75,7 +75,7 @@ def validate(self) -> None: # noqa: PLR6301
msg = "Method not implemented."
raise NotImplementedError(msg)

def teardown(self) -> None: # noqa: PLR6301
def teardown(self) -> None:
"""Test Teardown.
This method is useful for cleaning up external resources
Expand Down

0 comments on commit 6ed507e

Please sign in to comment.