Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Remove unused imports
Unknowne2f23bbaa932
diff --git a/saleor/core/utils/__init__.py b/saleor/core/utils/__init__.pyindex 7a0564328c..6f71b37869 100644--- a/saleor/core/utils/__init__.py+++ b/saleor/core/utils/__init__.py@@ -1,6 +1,5 @@import decimalimport logging-import osfrom json import JSONEncoderfrom urllib.parse import urljoindiff --git a/saleor/graphql/order/resolvers.py b/saleor/graphql/order/resolvers.pyindex 59a28d2125..afb4c0e0f3 100644--- a/saleor/graphql/order/resolvers.py+++ b/saleor/graphql/order/resolvers.py@@ -6,7 +6,6 @@ from ...order.utils import sum_order_totalsfrom ..utils import filter_by_period, filter_by_query_paramfrom .enums import OrderStatusFilterfrom .types import Order-from .utils import applicable_shipping_methodsORDER_SEARCH_FIELDS = ('id', 'discount_name', 'token', 'user_email', 'user__email')diff --git a/saleor/payment/gateways/dummy/__init__.py b/saleor/payment/gateways/dummy/__init__.pyindex 563144a033..5041deebe5 100644--- a/saleor/payment/gateways/dummy/__init__.py+++ b/saleor/payment/gateways/dummy/__init__.py@@ -1,5 +1,5 @@import uuid-from typing import Dict, List+from typing import Dictfrom ... import ChargeStatusfrom ...interface import GatewayResponse, PaymentDatadiff --git a/tests/api/test_fulfillment.py b/tests/api/test_fulfillment.pyindex aff610e0e0..3e38f04688 100644--- a/tests/api/test_fulfillment.py+++ b/tests/api/test_fulfillment.py@@ -1,4 +1,4 @@-from unittest.mock import Mock, patch+from unittest.mock import patchimport grapheneimport pytestdiff --git a/tests/test_account.py b/tests/test_account.pyindex 08fd6ff69d..67e1446c22 100644--- a/tests/test_account.py+++ b/tests/test_account.py@@ -1,4 +1,3 @@-import osimport reimport uuidfrom unittest.mock import patchdiff --git a/tests/test_payment.py b/tests/test_payment.pyindex 2b86b2a325..e80d07be0d 100644--- a/tests/test_payment.py+++ b/tests/test_payment.py@@ -1,4 +1,3 @@-import dataclassesfrom decimal import Decimalfrom unittest.mock import Mock, patch