Skip to content

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

Improve code style

Anna Siwik94304ae7baca
diff --git a/saleor/dashboard/order/forms.py b/saleor/dashboard/order/forms.py
index 260ff058a2..81fe4600b3 100644
--- a/saleor/dashboard/order/forms.py
+++ b/saleor/dashboard/order/forms.py
@@ -15,11 +15,9 @@ from ...order.models import DeliveryGroup, OrderLine, OrderNote
from ...order.utils import (
add_variant_to_delivery_group, cancel_order, change_order_line_quantity,
merge_duplicates_into_order_line, move_order_line_to_group,
- recalculate_order, remove_empty_groups
-)
+ recalculate_order, remove_empty_groups)
from ...product.models import Product, ProductVariant, Stock
-from ...product.utils import (
- allocate_stock, deallocate_stock, decrease_stock)
+from ...product.utils import allocate_stock, deallocate_stock
class OrderNoteForm(forms.ModelForm):
diff --git a/tests/test_userprofile.py b/tests/test_userprofile.py
index 1f137ea8f7..d643da3698 100644
--- a/tests/test_userprofile.py
+++ b/tests/test_userprofile.py
@@ -166,8 +166,7 @@ def test_address_as_data(billing_address):
'postal_code': '53-601',
'country': 'PL',
'country_area': '',
- 'phone': '+48713988102'
- }
+ 'phone': '+48713988102'}
def test_copy_address(billing_address):