Skip to content

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

Fix CodeClimate warnings

Jon Lawrence4050dc99a86a
diff --git a/saleor/checkout/forms.py b/saleor/checkout/forms.py
index e6c133a74a..4bd5d22a1e 100644
--- a/saleor/checkout/forms.py
+++ b/saleor/checkout/forms.py
@@ -116,6 +116,6 @@ class AnonymousUserBillingForm(forms.Form):
class NoteForm(forms.Form):
- """ Form to add a note to an order as it is
+ """ Form to add a note to an order as it is
created for shop staff to see """
note = forms.CharField(max_length=250, required=False)
diff --git a/saleor/order/models.py b/saleor/order/models.py
index 3fe74ed8f1..500f6cb6a2 100644
--- a/saleor/order/models.py
+++ b/saleor/order/models.py
@@ -359,7 +359,7 @@ class OrderHistoryEntry(models.Model):
class OrderNote(models.Model):
user = models.ForeignKey(
- settings.AUTH_USER_MODEL, blank=True, null=True,
+ settings.AUTH_USER_MODEL, blank=True, null=True,
on_delete=models.SET_NULL)
date = models.DateTimeField(auto_now_add=True)
order = models.ForeignKey(