Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.ci 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 13, 2025
1 parent 97aff72 commit 93ea87b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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 containingrecords 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 93ea87b

Please sign in to comment.