From 69a0f240844fb5b5d260d66cfbe5f1a8f35f7c8c Mon Sep 17 00:00:00 2001 From: Evan Tahler Date: Tue, 6 Dec 2022 16:59:45 -0800 Subject: [PATCH] lint CDK files (#20163) * lint CDK files * bump to rebuild file * format again? * remove double line * fix spacing in template * remove trailing space --- .../requesters/paginators/strategies/offset_increment.py | 2 +- .../declarative/requesters/paginators/test_offset_increment.py | 1 - .../source-java-jdbc/acceptance-test-config.yml.hbs | 3 +-- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/paginators/strategies/offset_increment.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/paginators/strategies/offset_increment.py index 1ee0e3b39749..fcc97ab54faf 100644 --- a/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/paginators/strategies/offset_increment.py +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/paginators/strategies/offset_increment.py @@ -6,8 +6,8 @@ from typing import Any, List, Mapping, Optional, Union import requests -from airbyte_cdk.sources.declarative.requesters.paginators.strategies.pagination_strategy import PaginationStrategy from airbyte_cdk.sources.declarative.interpolation import InterpolatedString +from airbyte_cdk.sources.declarative.requesters.paginators.strategies.pagination_strategy import PaginationStrategy from airbyte_cdk.sources.declarative.types import Config from dataclasses_jsonschema import JsonSchemaMixin diff --git a/airbyte-cdk/python/unit_tests/sources/declarative/requesters/paginators/test_offset_increment.py b/airbyte-cdk/python/unit_tests/sources/declarative/requesters/paginators/test_offset_increment.py index d7df129f6a3f..670a299610ef 100644 --- a/airbyte-cdk/python/unit_tests/sources/declarative/requesters/paginators/test_offset_increment.py +++ b/airbyte-cdk/python/unit_tests/sources/declarative/requesters/paginators/test_offset_increment.py @@ -6,7 +6,6 @@ import pytest import requests - from airbyte_cdk.sources.declarative.interpolation import InterpolatedString from airbyte_cdk.sources.declarative.requesters.paginators.strategies.offset_increment import OffsetIncrement diff --git a/airbyte-integrations/connector-templates/source-java-jdbc/acceptance-test-config.yml.hbs b/airbyte-integrations/connector-templates/source-java-jdbc/acceptance-test-config.yml.hbs index ad714f220188..3a5f2ce6679a 100644 --- a/airbyte-integrations/connector-templates/source-java-jdbc/acceptance-test-config.yml.hbs +++ b/airbyte-integrations/connector-templates/source-java-jdbc/acceptance-test-config.yml.hbs @@ -5,5 +5,4 @@ acceptance_tests: spec: tests: - spec_path: "src/test-integration/resources/expected_spec.json" - config_path: "src/test-integration/resources/dummy_config.json" - + config_path: "src/test-integration/resources/dummy_config.json"