Skip to content

Commit

Permalink
chore: pre-commit autoupdate (#222)
Browse files Browse the repository at this point in the history
<!--pre-commit.ci start-->
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.8.6 →
v0.9.1](astral-sh/ruff-pre-commit@v0.8.6...v0.9.1)
- [github.com/python-jsonschema/check-jsonschema: 0.30.0 →
0.31.0](python-jsonschema/check-jsonschema@0.30.0...0.31.0)
<!--pre-commit.ci end-->

---------

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 13, 2025
1 parent 9a39bbf commit 9ff4ee9
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 @@ -18,7 +18,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.6
rev: v0.9.1
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix, --show-fixes]
Expand All @@ -37,7 +37,7 @@ repos:
- id: pyproject-fmt

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.30.0
rev: 0.31.0
hooks:
- id: check-dependabot
- id: check-github-workflows
2 changes: 1 addition & 1 deletion tap_smoke_test/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ def read(self) -> Generator[str, None, None]:
if r.ok:
yield from r.iter_lines()
else:
raise Exception(f"Fetch of remote payload failed. status: [{r.status_code}], " f"reason: [{r.reason}]")
raise Exception(f"Fetch of remote payload failed. status: [{r.status_code}], reason: [{r.reason}]")
6 changes: 3 additions & 3 deletions tap_smoke_test/tap.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class TapSmokeTest(Tap):
th.IntegerType,
default=5,
required=False,
description="How many records of the source data " "should be used for schema inference/construction.",
description="How many records of the source data should be used for schema inference/construction.",
),
th.Property(
"streams",
Expand All @@ -33,14 +33,14 @@ class TapSmokeTest(Tap):
"input_filename",
th.StringType,
required=True,
description="Path to a jsonl file containing" "records to use for mock data.",
description="Path to a jsonl file containing records to use for mock data.",
),
th.Property(
"client_exception",
th.BooleanType,
required=False,
default=False,
description=("Whether we should simulate failing by having the client " "raise an exception."),
description=("Whether we should simulate failing by having the client raise an exception."),
),
th.Property(
"schema_gen_exception",
Expand Down

0 comments on commit 9ff4ee9

Please sign in to comment.