diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 14de53889c2b..9fc14e19c82e 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -86,8 +86,8 @@ jobs: - name: Install Pyenv run: python3 -m pip install virtualenv==16.7.9 --user -# - name: Generate Template scaffold -# run: ./gradlew :airbyte-integrations:connector-templates:generator:testScaffoldTemplates --scan + - name: Generate Template scaffold + run: ./gradlew :airbyte-integrations:connector-templates:generator:testScaffoldTemplates --scan - name: Format run: SUB_BUILD=CONNECTORS_BASE ./gradlew format --scan --info --stacktrace diff --git a/airbyte-integrations/connectors/source-scaffold-source-http/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-scaffold-source-http/integration_tests/acceptance.py index eeb4a2d3e02e..df2783d1750f 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-http/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-scaffold-source-http/integration_tests/acceptance.py @@ -1,4 +1,3 @@ -# # MIT License # # Copyright (c) 2020 Airbyte @@ -20,7 +19,6 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -# import pytest diff --git a/airbyte-integrations/connectors/source-scaffold-source-http/main.py b/airbyte-integrations/connectors/source-scaffold-source-http/main.py index 5d7cec274c6e..6e752104685c 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-http/main.py +++ b/airbyte-integrations/connectors/source-scaffold-source-http/main.py @@ -1,4 +1,3 @@ -# # MIT License # # Copyright (c) 2020 Airbyte @@ -20,7 +19,6 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -# import sys diff --git a/airbyte-integrations/connectors/source-scaffold-source-http/setup.py b/airbyte-integrations/connectors/source-scaffold-source-http/setup.py index 5e6bc88d3b56..3041c1fd0ea1 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-http/setup.py +++ b/airbyte-integrations/connectors/source-scaffold-source-http/setup.py @@ -1,4 +1,3 @@ -# # MIT License # # Copyright (c) 2020 Airbyte @@ -20,7 +19,6 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -# from setuptools import find_packages, setup diff --git a/airbyte-integrations/connectors/source-scaffold-source-http/source_scaffold_source_http/source.py b/airbyte-integrations/connectors/source-scaffold-source-http/source_scaffold_source_http/source.py index 1960c953766b..240caca78c33 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-http/source_scaffold_source_http/source.py +++ b/airbyte-integrations/connectors/source-scaffold-source-http/source_scaffold_source_http/source.py @@ -1,4 +1,3 @@ -# # MIT License # # Copyright (c) 2020 Airbyte @@ -20,7 +19,6 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -# from abc import ABC diff --git a/airbyte-integrations/connectors/source-scaffold-source-http/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-scaffold-source-http/unit_tests/unit_test.py index b8a8150b507f..f03f99f7c46e 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-http/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-scaffold-source-http/unit_tests/unit_test.py @@ -1,4 +1,3 @@ -# # MIT License # # Copyright (c) 2020 Airbyte @@ -20,7 +19,6 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -# def test_example_method(): diff --git a/airbyte-integrations/connectors/source-scaffold-source-python/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-scaffold-source-python/integration_tests/acceptance.py index 52accc9d8498..545776693290 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-python/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-scaffold-source-python/integration_tests/acceptance.py @@ -1,4 +1,3 @@ -# # MIT License # # Copyright (c) 2020 Airbyte @@ -20,7 +19,6 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -# import pytest diff --git a/airbyte-integrations/connectors/source-scaffold-source-python/main.py b/airbyte-integrations/connectors/source-scaffold-source-python/main.py index 750c40029bae..66dc58763bd6 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-python/main.py +++ b/airbyte-integrations/connectors/source-scaffold-source-python/main.py @@ -1,4 +1,3 @@ -# # MIT License # # Copyright (c) 2020 Airbyte @@ -20,7 +19,6 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -# import sys diff --git a/airbyte-integrations/connectors/source-scaffold-source-python/setup.py b/airbyte-integrations/connectors/source-scaffold-source-python/setup.py index 6e1fa0780181..439ca2348f01 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-python/setup.py +++ b/airbyte-integrations/connectors/source-scaffold-source-python/setup.py @@ -1,4 +1,3 @@ -# # MIT License # # Copyright (c) 2020 Airbyte @@ -20,7 +19,6 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -# from setuptools import find_packages, setup diff --git a/airbyte-integrations/connectors/source-scaffold-source-python/source_scaffold_source_python/source.py b/airbyte-integrations/connectors/source-scaffold-source-python/source_scaffold_source_python/source.py index 89772c429035..37e4a1783cf1 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-python/source_scaffold_source_python/source.py +++ b/airbyte-integrations/connectors/source-scaffold-source-python/source_scaffold_source_python/source.py @@ -1,4 +1,3 @@ -# # MIT License # # Copyright (c) 2020 Airbyte @@ -20,7 +19,6 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -# import json diff --git a/airbyte-integrations/connectors/source-scaffold-source-python/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-scaffold-source-python/unit_tests/unit_test.py index b8a8150b507f..f03f99f7c46e 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-python/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-scaffold-source-python/unit_tests/unit_test.py @@ -1,4 +1,3 @@ -# # MIT License # # Copyright (c) 2020 Airbyte @@ -20,7 +19,6 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -# def test_example_method():