Skip to content

chore(internal): reformat imports #364

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions tests/api_resources/hris/benefits/test_individuals.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@
from finch import Finch, AsyncFinch
from tests.utils import assert_matches_type
from finch.pagination import SyncSinglePage, AsyncSinglePage
from finch.types.hris.benefits.individual_benefit import IndividualBenefit
from finch.types.hris.benefits.enrolled_individual import EnrolledIndividual
from finch.types.hris.benefits.unenrolled_individual import UnenrolledIndividual
from finch.types.hris.benefits.individual_enrolled_ids_response import IndividualEnrolledIDsResponse
from finch.types.hris.benefits import (
IndividualBenefit,
EnrolledIndividual,
UnenrolledIndividual,
IndividualEnrolledIDsResponse,
)

base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")

Expand Down
10 changes: 6 additions & 4 deletions tests/api_resources/hris/test_benefits.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@
from finch import Finch, AsyncFinch
from tests.utils import assert_matches_type
from finch.pagination import SyncSinglePage, AsyncSinglePage
from finch.types.hris.company_benefit import CompanyBenefit
from finch.types.hris.supported_benefit import SupportedBenefit
from finch.types.hris.update_company_benefit_response import UpdateCompanyBenefitResponse
from finch.types.hris.create_company_benefits_response import CreateCompanyBenefitsResponse
from finch.types.hris import (
CompanyBenefit,
SupportedBenefit,
UpdateCompanyBenefitResponse,
CreateCompanyBenefitsResponse,
)

base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")

Expand Down
2 changes: 1 addition & 1 deletion tests/api_resources/hris/test_company.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from finch import Finch, AsyncFinch
from tests.utils import assert_matches_type
from finch.types.hris.company import Company
from finch.types.hris import Company

base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")

Expand Down
2 changes: 1 addition & 1 deletion tests/api_resources/hris/test_directory.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from finch import Finch, AsyncFinch
from tests.utils import assert_matches_type
from finch.pagination import SyncIndividualsPage, AsyncIndividualsPage
from finch.types.hris.individual_in_directory import IndividualInDirectory
from finch.types.hris import IndividualInDirectory

# pyright: reportDeprecated=false

Expand Down
2 changes: 1 addition & 1 deletion tests/api_resources/hris/test_employments.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from finch import Finch, AsyncFinch
from tests.utils import assert_matches_type
from finch.pagination import SyncResponsesPage, AsyncResponsesPage
from finch.types.hris.employment_data_response import EmploymentDataResponse
from finch.types.hris import EmploymentDataResponse

base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")

Expand Down
2 changes: 1 addition & 1 deletion tests/api_resources/hris/test_individuals.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from finch import Finch, AsyncFinch
from tests.utils import assert_matches_type
from finch.pagination import SyncResponsesPage, AsyncResponsesPage
from finch.types.hris.individual_response import IndividualResponse
from finch.types.hris import IndividualResponse

base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")

Expand Down
2 changes: 1 addition & 1 deletion tests/api_resources/hris/test_pay_statements.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from finch import Finch, AsyncFinch
from tests.utils import assert_matches_type
from finch.pagination import SyncResponsesPage, AsyncResponsesPage
from finch.types.hris.pay_statement_response import PayStatementResponse
from finch.types.hris import PayStatementResponse

base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")

Expand Down
2 changes: 1 addition & 1 deletion tests/api_resources/hris/test_payments.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from tests.utils import assert_matches_type
from finch._utils import parse_date
from finch.pagination import SyncSinglePage, AsyncSinglePage
from finch.types.hris.payment import Payment
from finch.types.hris import Payment

base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")

Expand Down
3 changes: 1 addition & 2 deletions tests/api_resources/jobs/test_automated.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
from finch import Finch, AsyncFinch
from tests.utils import assert_matches_type
from finch.pagination import SyncPage, AsyncPage
from finch.types.jobs.automated_async_job import AutomatedAsyncJob
from finch.types.jobs.automated_create_response import AutomatedCreateResponse
from finch.types.jobs import AutomatedAsyncJob, AutomatedCreateResponse

base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")

Expand Down
2 changes: 1 addition & 1 deletion tests/api_resources/jobs/test_manual.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from finch import Finch, AsyncFinch
from tests.utils import assert_matches_type
from finch.types.jobs.manual_async_job import ManualAsyncJob
from finch.types.jobs import ManualAsyncJob

base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")

Expand Down
6 changes: 4 additions & 2 deletions tests/api_resources/sandbox/connections/test_accounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@

from finch import Finch, AsyncFinch
from tests.utils import assert_matches_type
from finch.types.sandbox.connections.account_create_response import AccountCreateResponse
from finch.types.sandbox.connections.account_update_response import AccountUpdateResponse
from finch.types.sandbox.connections import (
AccountCreateResponse,
AccountUpdateResponse,
)

base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")

Expand Down
3 changes: 1 addition & 2 deletions tests/api_resources/sandbox/jobs/test_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@

from finch import Finch, AsyncFinch
from tests.utils import assert_matches_type
from finch.types.sandbox.jobs.sandbox_job_configuration import SandboxJobConfiguration
from finch.types.sandbox.jobs.configuration_retrieve_response import ConfigurationRetrieveResponse
from finch.types.sandbox.jobs import SandboxJobConfiguration, ConfigurationRetrieveResponse

base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")

Expand Down
2 changes: 1 addition & 1 deletion tests/api_resources/sandbox/test_company.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from finch import Finch, AsyncFinch
from tests.utils import assert_matches_type
from finch.types.sandbox.company_update_response import CompanyUpdateResponse
from finch.types.sandbox import CompanyUpdateResponse

base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")

Expand Down
2 changes: 1 addition & 1 deletion tests/api_resources/sandbox/test_connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from finch import Finch, AsyncFinch
from tests.utils import assert_matches_type
from finch.types.sandbox.connection_create_response import ConnectionCreateResponse
from finch.types.sandbox import ConnectionCreateResponse

base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")

Expand Down
2 changes: 1 addition & 1 deletion tests/api_resources/sandbox/test_directory.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from finch import Finch, AsyncFinch
from tests.utils import assert_matches_type
from finch.types.sandbox.directory_create_response import DirectoryCreateResponse
from finch.types.sandbox import DirectoryCreateResponse

base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")

Expand Down
2 changes: 1 addition & 1 deletion tests/api_resources/sandbox/test_employment.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from finch import Finch, AsyncFinch
from tests.utils import assert_matches_type
from finch.types.sandbox.employment_update_response import EmploymentUpdateResponse
from finch.types.sandbox import EmploymentUpdateResponse

base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")

Expand Down
2 changes: 1 addition & 1 deletion tests/api_resources/sandbox/test_individual.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from finch import Finch, AsyncFinch
from tests.utils import assert_matches_type
from finch.types.sandbox.individual_update_response import IndividualUpdateResponse
from finch.types.sandbox import IndividualUpdateResponse

base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")

Expand Down
2 changes: 1 addition & 1 deletion tests/api_resources/sandbox/test_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from finch import Finch, AsyncFinch
from tests.utils import assert_matches_type
from finch.types.sandbox.job_create_response import JobCreateResponse
from finch.types.sandbox import JobCreateResponse

base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")

Expand Down
2 changes: 1 addition & 1 deletion tests/api_resources/sandbox/test_payment.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from finch import Finch, AsyncFinch
from tests.utils import assert_matches_type
from finch.types.sandbox.payment_create_response import PaymentCreateResponse
from finch.types.sandbox import PaymentCreateResponse

base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")

Expand Down
2 changes: 1 addition & 1 deletion tests/api_resources/test_access_tokens.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
import pytest

from finch import Finch, AsyncFinch
from finch.types import CreateAccessTokenResponse
from tests.utils import assert_matches_type
from finch.types.create_access_token_response import CreateAccessTokenResponse

base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")

Expand Down
3 changes: 1 addition & 2 deletions tests/api_resources/test_account.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@
import pytest

from finch import Finch, AsyncFinch
from finch.types import Introspection, DisconnectResponse
from tests.utils import assert_matches_type
from finch.types.introspection import Introspection
from finch.types.disconnect_response import DisconnectResponse

base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")

Expand Down
2 changes: 1 addition & 1 deletion tests/api_resources/test_providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
import pytest

from finch import Finch, AsyncFinch
from finch.types import Provider
from tests.utils import assert_matches_type
from finch.pagination import SyncSinglePage, AsyncSinglePage
from finch.types.provider import Provider

base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")

Expand Down
2 changes: 1 addition & 1 deletion tests/api_resources/test_request_forwarding.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
import pytest

from finch import Finch, AsyncFinch
from finch.types import RequestForwardingForwardResponse
from tests.utils import assert_matches_type
from finch.types.request_forwarding_forward_response import RequestForwardingForwardResponse

base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")

Expand Down