Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 6, 2024
1 parent df3a95c commit 533ddca
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion hubspot_xpro/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

from django.contrib.contenttypes.models import ContentType
from django.db.models import Q
from hubspot.crm.objects import SimplePublicObject, SimplePublicObjectInput
from mitol.hubspot_api.api import (
HubspotApi,
HubspotAssociationType,
Expand All @@ -26,7 +27,6 @@
from b2b_ecommerce.constants import B2B_ORDER_PREFIX
from b2b_ecommerce.models import B2BLine, B2BOrder
from ecommerce.models import Line, Order, Product, ProductVersion
from hubspot.crm.objects import SimplePublicObject, SimplePublicObjectInput
from users.models import User

log = logging.getLogger(__name__)
Expand Down
2 changes: 1 addition & 1 deletion hubspot_xpro/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@

import pytest
from django.contrib.contenttypes.models import ContentType
from hubspot.crm.objects import SimplePublicObject
from mitol.hubspot_api.factories import HubspotObjectFactory

from b2b_ecommerce import factories as b2b_factories
from ecommerce import factories
from ecommerce.models import Order, Product
from hubspot.crm.objects import SimplePublicObject
from users.models import User

TIMESTAMPS = [
Expand Down
4 changes: 2 additions & 2 deletions hubspot_xpro/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
import celery
from django.conf import settings
from django.contrib.contenttypes.models import ContentType
from hubspot.crm.associations import BatchInputPublicAssociation, PublicAssociation
from hubspot.crm.objects import ApiException, BatchInputSimplePublicObjectInput
from mitol.common.decorators import single_task
from mitol.common.utils import chunks
from mitol.hubspot_api.api import HubspotApi, HubspotAssociationType, HubspotObjectType
Expand All @@ -18,8 +20,6 @@

from b2b_ecommerce.models import B2BOrder
from ecommerce.models import Order
from hubspot.crm.associations import BatchInputPublicAssociation, PublicAssociation
from hubspot.crm.objects import ApiException, BatchInputSimplePublicObjectInput
from hubspot_xpro import api
from hubspot_xpro.api import get_hubspot_id_for_object
from mitxpro.celery import app
Expand Down
4 changes: 2 additions & 2 deletions hubspot_xpro/tasks_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
import pytest
from django.contrib.contenttypes.models import ContentType
from faker import Faker
from hubspot.crm.associations import BatchInputPublicAssociation, PublicAssociation
from hubspot.crm.objects import ApiException, BatchInputSimplePublicObjectInput
from mitol.hubspot_api.api import HubspotAssociationType, HubspotObjectType
from mitol.hubspot_api.exceptions import TooManyRequestsException
from mitol.hubspot_api.factories import HubspotObjectFactory, SimplePublicObjectFactory
Expand All @@ -22,8 +24,6 @@
ProductVersionFactory,
)
from ecommerce.models import Order, Product
from hubspot.crm.associations import BatchInputPublicAssociation, PublicAssociation
from hubspot.crm.objects import ApiException, BatchInputSimplePublicObjectInput
from hubspot_xpro import tasks
from hubspot_xpro.api import make_contact_sync_message
from hubspot_xpro.tasks import task_obj_lock
Expand Down

0 comments on commit 533ddca

Please sign in to comment.