Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix super() calls
Patryk Zawadzki22780047fbdf
diff --git a/saleor/cart/forms.py b/saleor/cart/forms.pyindex debb9b709d..4058c26b7e 100644--- a/saleor/cart/forms.py+++ b/saleor/cart/forms.py@@ -99,6 +99,8 @@ class ReplaceCartLineForm(AddToCartForm):return quantitydef clean(self):+ # explicitly skip parent's implementation+ # pylint: disable=E1003return super(AddToCartForm, self).clean()def get_variant(self, cleaned_data):diff --git a/saleor/checkout/steps.py b/saleor/checkout/steps.pyindex 672666e1e2..e2022de67b 100644--- a/saleor/checkout/steps.py+++ b/saleor/checkout/steps.py@@ -87,7 +87,7 @@ class ShippingAddressStep(BaseCheckoutStep):def process(self, extra_context=None):context = dict(extra_context or {})context['addresses'] = self.addresses- return super(BaseCheckoutStep, self).process(extra_context=context)+ return super(ShippingAddressStep, self).process(extra_context=context)def forms_are_valid(self):address = None