Skip to content

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

Fix imports sorting

Marcin Gębalaec5083d083f5
diff --git a/saleor/graphql/core/types/money.py b/saleor/graphql/core/types/money.py
index 0c9339bf88..3d1578f0d6 100644
--- a/saleor/graphql/core/types/money.py
+++ b/saleor/graphql/core/types/money.py
@@ -1,5 +1,4 @@
import graphene
-
from django_prices.templatetags import prices_i18n
@@ -57,7 +56,8 @@ class VAT(graphene.ObjectType):
description='Standard VAT rate in percent.')
reduced_rates = graphene.List(
lambda: ReducedRate,
- description='Country\'s VAT rate exceptions for specific types of goods.')
+ description='''
+ Country\'s VAT rate exceptions for specific types of goods.''')
class Meta:
description = 'Represents a VAT rate for a country.'
@@ -78,4 +78,5 @@ class ReducedRate(graphene.ObjectType):
rate_type = graphene.String(description='A type of goods.', required=True)
class Meta:
- description = 'Represents a reduced VAT rate for a particular type of goods.'
+ description = '''
+ Represents a reduced VAT rate for a particular type of goods.'''
diff --git a/saleor/graphql/core/types/shop.py b/saleor/graphql/core/types/shop.py
index 77c9859acd..b7a63ddeda 100644
--- a/saleor/graphql/core/types/shop.py
+++ b/saleor/graphql/core/types/shop.py
@@ -1,9 +1,9 @@
import graphene
+from django.conf import settings
from django_countries import countries
from django_prices_vatlayer import models as vatlayer_models
-from django.conf import settings
-from phonenumbers import COUNTRY_CODE_TO_REGION_CODE
from graphql_jwt.decorators import permission_required
+from phonenumbers import COUNTRY_CODE_TO_REGION_CODE
from ....core.permissions import get_permissions
from ....site import models as site_models