Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 27, 2025
1 parent 751154c commit 5b595f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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 5b595f2

Please sign in to comment.