Skip to content

Commit

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

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.7.0 → v0.7.1](astral-sh/ruff-pre-commit@v0.7.0...v0.7.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>
  • Loading branch information
pre-commit-ci[bot] authored Oct 29, 2024
1 parent 73e7f14 commit 863c173
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .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.7.0
rev: v0.7.1
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix, --show-fixes]
Expand Down
2 changes: 1 addition & 1 deletion singer_sdk/mapper_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def map_activate_version_message(

def map_batch_message( # noqa: PLR6301
self,
message_dict: dict, # noqa: ARG002
message_dict: dict,
) -> t.Iterable[singer.Message]:
"""Map a batch message to zero or more new messages.
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 @@ -249,9 +249,9 @@ def non_null_attribute_values(self) -> list[t.Any]:
@classmethod
def evaluate(
cls,
stream: Stream, # noqa: ARG003
property_name: str, # noqa: ARG003
property_schema: dict, # noqa: ARG003
stream: Stream,
property_name: str,
property_schema: dict,
) -> bool:
"""Determine if this attribute test is applicable to the given property.
Expand Down

0 comments on commit 863c173

Please sign in to comment.