Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix pycodestyle errors
Rafał Pitoń2d5f08827ec9
diff --git a/saleor/product/utils.py b/saleor/product/utils.pyindex 1d38e9f410..ab09152774 100644--- a/saleor/product/utils.py+++ b/saleor/product/utils.py@@ -338,7 +338,7 @@ class CostsData:def __init__(self, costs, margins):self.costs = sorted(costs, key=lambda x: x.gross)self.margins = sorted(margins)-+def get_cost_data_from_variants(variants):costs = []