Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
PEP8, style
Pacu271e58baffeb4
diff --git a/saleor/checkout/core.py b/saleor/checkout/core.pyindex b595225d73..011401bb75 100644--- a/saleor/checkout/core.py+++ b/saleor/checkout/core.py@@ -13,8 +13,7 @@ from ..account.utils import store_user_addressfrom ..cart.models import Cartfrom ..cart.utils import get_or_empty_db_cartfrom ..core import analytics-from ..core.utils.taxes import (- ZERO_TAXED_MONEY, get_taxes_for_country)+from ..core.utils.taxes import ZERO_TAXED_MONEY, get_taxes_for_countryfrom ..discount.models import NotApplicable, Voucherfrom ..discount.utils import increase_voucher_usagefrom ..order.models import Orderdiff --git a/saleor/dashboard/order/utils.py b/saleor/dashboard/order/utils.pyindex e017f730f2..ab7c8c5d6a 100644--- a/saleor/dashboard/order/utils.py+++ b/saleor/dashboard/order/utils.py@@ -19,8 +19,7 @@ def get_statics_absolute_url(request):absolute_url = '%(protocol)s://%(domain)s%(static_url)s' % {'protocol': 'https' if request.is_secure() else 'http','domain': site.domain,- 'static_url': settings.STATIC_URL,- }+ 'static_url': settings.STATIC_URL}return absolute_urldiff --git a/saleor/static/js/components/variantPicker/VariantPrice.js b/saleor/static/js/components/variantPicker/VariantPrice.jsindex 25fbcb0069..6ad794ea7d 100644--- a/saleor/static/js/components/variantPicker/VariantPrice.js+++ b/saleor/static/js/components/variantPicker/VariantPrice.js@@ -22,8 +22,7 @@ export default observer(class VariantPrice extends Component {if (variant.priceLocalCurrency) {priceLocalCurrency = variant.priceLocalCurrency.grossLocalized;}- }- else {+ } else {priceText = `${variant.price.netLocalized}`;priceUndiscountedText = `${variant.priceUndiscounted.netLocalized}`;if (variant.priceLocalCurrency) {@@ -40,8 +39,7 @@ export default observer(class VariantPrice extends Component {if (availability.priceRangeLocalCurrency) {priceLocalCurrency = availability.priceRangeLocalCurrency.minPrice.grossLocalized;}- }- else {+ } else {priceText = `${priceRange.minPrice.netLocalized}`;priceUndiscountedText = `${priceRangeUndiscounted.minPrice.netLocalized}`;if (availability.priceRangeLocalCurrency) {