Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Resort imports by isort

Unknownda714e8c5bf8
diff --git a/saleor/checkout/models.py b/saleor/checkout/models.py
index cdd70c62f9..1e48efc8fe 100644
--- a/saleor/checkout/models.py
+++ b/saleor/checkout/models.py
@@ -13,8 +13,8 @@ from measurement.measures import Weight
from ..account.models import Address
from ..core.utils.taxes import ZERO_TAXED_MONEY, zero_money
-from ..shipping.models import ShippingMethod
from ..core.weight import zero_weight
+from ..shipping.models import ShippingMethod
CENTS = Decimal('0.01')
diff --git a/saleor/graphql/account/mutations.py b/saleor/graphql/account/mutations.py
index 1dc21f6130..75e3ae11fe 100644
--- a/saleor/graphql/account/mutations.py
+++ b/saleor/graphql/account/mutations.py
@@ -20,7 +20,6 @@ from ..core.enums import PermissionEnum
from ..core.mutations import BaseMutation, ModelDeleteMutation, ModelMutation
from ..core.types import Error
-
BILLING_ADDRESS_FIELD = 'default_billing_address'
SHIPPING_ADDRESS_FIELD = 'default_shipping_address'
diff --git a/tests/test_order.py b/tests/test_order.py
index b2c605b15c..1c909bcea0 100644
--- a/tests/test_order.py
+++ b/tests/test_order.py
@@ -4,7 +4,6 @@ import pytest
from django.urls import reverse
from django_countries.fields import Country
from prices import Money, TaxedMoney
-from tests.utils import get_redirect_location
from saleor.account.models import User
from saleor.checkout.utils import create_order
@@ -21,6 +20,7 @@ from saleor.order.utils import (
update_order_prices, update_order_status)
from saleor.payment import ChargeStatus
from saleor.payment.models import Payment
+from tests.utils import get_redirect_location
def test_total_setter():