From 1e10a5282d2bbad4265f1a0be783612c99b0b7b4 Mon Sep 17 00:00:00 2001
From: Samar Hassan <88422175+samar-hassan@users.noreply.github.com>
Date: Wed, 24 Jan 2024 13:26:05 +0000
Subject: [PATCH] [Fix] Resolve lint errors (#328)
* fix :wrench: resolve lint errors
* fix :wrench: resolve pylint errors
* fix :wrench: resolve tests failing
---
.gitignore | 3 ++-
oscarapi/fixtures/offer.xml | 1 +
oscarapi/fixtures/voucher.xml | 1 +
oscarapi/middleware.py | 2 +-
oscarapi/settings.py | 1 +
oscarapi/signals.py | 8 +-------
oscarapi/tests/unit/testmiddleware.py | 2 +-
oscarapi/tests/unit/testproduct.py | 9 ++++++---
oscarapi/utils/exists.py | 1 +
9 files changed, 15 insertions(+), 13 deletions(-)
diff --git a/.gitignore b/.gitignore
index e904498a..a567e1a7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,4 +17,5 @@ version-django-oscar-commerce-connect.txt
sandbox/media/
sandbox/static/
docs/build/
-lint.installed
\ No newline at end of file
+lint.installed
+.vscode
diff --git a/oscarapi/fixtures/offer.xml b/oscarapi/fixtures/offer.xml
index c69eeed3..4c455240 100644
--- a/oscarapi/fixtures/offer.xml
+++ b/oscarapi/fixtures/offer.xml
@@ -27,6 +27,7 @@
0
0
+ False
2015-11-16T11:08:15.653721+00:00