Skip to content

Commit

Permalink
match styling for spotlessApply and format (#3017)
Browse files Browse the repository at this point in the history
* as a java developer I want to be able to run spotlessApply without changing styles in python code
  • Loading branch information
cgardens committed Apr 23, 2021
1 parent 3827235 commit f445fdb
Show file tree
Hide file tree
Showing 335 changed files with 340 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


from .models import (
AirbyteCatalog,
AirbyteConnectionStatus,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@
SOFTWARE.
"""


# generated by generate-protocol-files
from .airbyte_protocol import *
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


# generated by datamodel-codegen:
# filename: airbyte_protocol.yaml

Expand Down
1 change: 1 addition & 0 deletions airbyte-integrations/bases/airbyte-protocol/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


import setuptools

setuptools.setup(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


from normalization.transform_catalog.transform import main

if __name__ == "__main__":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


from normalization.transform_config.transform import main

if __name__ == "__main__":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


from normalization.destination_type import DestinationType
from normalization.transform_catalog.transform import TransformCatalog
from normalization.transform_config.transform import TransformConfig
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


from enum import Enum


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


from normalization.transform_catalog.transform import TransformCatalog

__all__ = ["TransformCatalog"]
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


import json
import os
from typing import Any, Dict, List, Set
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


import unicodedata as ud
from re import match, sub

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


from normalization import DestinationType

# https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical#reserved_keywords
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


import hashlib
import os
from typing import Dict, List, Optional, Set, Tuple
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


import argparse
import os
from typing import Any, Dict
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


from typing import Set


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


from normalization.transform_config.transform import TransformConfig

__all__ = ["TransformConfig"]
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


import argparse
import json
import os
Expand Down
1 change: 1 addition & 0 deletions airbyte-integrations/bases/base-normalization/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


import setuptools

setuptools.setup(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


import pytest
from normalization.destination_type import DestinationType
from normalization.transform_catalog.destination_name_transformer import (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


import os
import re
from typing import List
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


import json
import os

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


from .test_iface import DefaultStandardSourceTest, StandardSourceTestIface

__all__ = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


import argparse
import importlib
import json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


import json
import pkgutil
from typing import List
Expand Down
1 change: 1 addition & 0 deletions airbyte-integrations/bases/base-python-test/main_dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


from base_python_test.standard_test import main

if __name__ == "__main__":
Expand Down
1 change: 1 addition & 0 deletions airbyte-integrations/bases/base-python-test/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


import setuptools

setuptools.setup(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


from base_python.catalog_helpers import CatalogHelper
from base_python.client import BaseClient
from base_python.integration import AirbyteSpec, Destination, Integration, Source
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


from airbyte_protocol import AirbyteCatalog, SyncMode


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


import inspect
from abc import ABC, abstractmethod
from typing import Any, Callable, Dict, Generator, List, Mapping, Tuple
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


import argparse
import importlib
import os.path
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


import json
import os
import pkgutil
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


import traceback

from airbyte_protocol import AirbyteLogMessage, AirbyteMessage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


import json
import os
import pkgutil
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@
SOFTWARE.
"""


# Initialize SDK Package
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


import copy
from abc import ABC, abstractmethod
from datetime import datetime
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@
SOFTWARE.
"""


# Initialize Streams Package
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@
SOFTWARE.
"""


# Initialize Auth Package
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


from abc import ABC, abstractmethod
from typing import Any, Mapping

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


from typing import Any, Mapping

from base_python.sdk.streams.auth.core import HttpAuthenticator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


from typing import Any, Mapping, Tuple

import pendulum
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


from typing import Any, Mapping

from base_python.sdk.streams.auth.core import HttpAuthenticator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


import inspect
from abc import ABC, abstractmethod
from typing import Any, Iterable, List, Mapping, MutableMapping, Optional, Union
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


from typing import Union

import requests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


from abc import ABC, abstractmethod
from typing import Any, Iterable, List, Mapping, MutableMapping, Optional

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


import sys
import time

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@
SOFTWARE.
"""


# Initialize Utils Package
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


import re


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


import copy
from datetime import datetime
from typing import Any, Iterator, Mapping, MutableMapping, Type
Expand Down
1 change: 1 addition & 0 deletions airbyte-integrations/bases/base-python/main_dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


from base_python.entrypoint import main

if __name__ == "__main__":
Expand Down
1 change: 1 addition & 0 deletions airbyte-integrations/bases/base-python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


import setuptools

setuptools.setup(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
SOFTWARE.
"""


import pytest
from base_python.sdk.utils.casing import camel_to_snake

Expand Down
Loading

0 comments on commit f445fdb

Please sign in to comment.