Skip to content

Commit 46e432a

Browse files
author
octavia-squidington-iii
committed
Auto-fix lint issues (unsafe)
1 parent f69efc5 commit 46e432a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

airbyte_cdk/sources/declarative/requesters/http_job_repository.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ def abort(self, job: AsyncJob) -> None:
241241
if not self.abort_requester:
242242
return
243243

244-
abort_response = self.abort_requester.send_request(
244+
self.abort_requester.send_request(
245245
stream_slice=self._get_create_job_stream_slice(job),
246246
log_formatter=lambda abort_response: format_http_message(
247247
response=abort_response,
@@ -257,7 +257,7 @@ def delete(self, job: AsyncJob) -> None:
257257
if not self.delete_requester:
258258
return
259259

260-
delete_job_reponse = self.delete_requester.send_request(
260+
self.delete_requester.send_request(
261261
stream_slice=self._get_create_job_stream_slice(job),
262262
log_formatter=lambda delete_job_reponse: format_http_message(
263263
response=delete_job_reponse,

unit_tests/source_declarative_manifest/test_source_declarative_w_custom_components.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def get_py_components_config_dict(
9696
"components.py" if not failing_components else "components_failing.py"
9797
)
9898
config_yaml_path: Path = connector_dir / "valid_config.yaml"
99-
secrets_yaml_path: Path = connector_dir / "secrets.yaml"
99+
connector_dir / "secrets.yaml"
100100

101101
manifest_dict = yaml.safe_load(manifest_yml_path.read_text())
102102
assert manifest_dict, "Failed to load the manifest file."
@@ -136,7 +136,7 @@ def test_missing_checksum_fails_to_run(
136136
Path(temp_config_file.name).write_text(json_str)
137137
temp_config_file.flush()
138138
with pytest.raises(ValueError):
139-
source = create_declarative_source(
139+
create_declarative_source(
140140
["check", "--config", temp_config_file.name],
141141
)
142142

@@ -168,7 +168,7 @@ def test_invalid_checksum_fails_to_run(
168168
Path(temp_config_file.name).write_text(json_str)
169169
temp_config_file.flush()
170170
with pytest.raises(AirbyteCodeTamperedError):
171-
source = create_declarative_source(
171+
create_declarative_source(
172172
["check", "--config", temp_config_file.name],
173173
)
174174

unit_tests/sources/declarative/checks/test_check_stream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ def test_check_stream_missing_fields():
673673
},
674674
}
675675
with pytest.raises(ValidationError):
676-
source = ConcurrentDeclarativeSource(
676+
ConcurrentDeclarativeSource(
677677
source_config=manifest,
678678
config=_CONFIG,
679679
catalog=None,

0 commit comments

Comments
 (0)