Samar Hassan 8 mesi fa
parent
commit
292742f782
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1
    1
      requirements.txt
  2. 1
    1
      src/oscar/apps/catalogue/managers.py

+ 1
- 1
requirements.txt Vedi File

@@ -16,7 +16,7 @@ uWSGI>=2.0.19
16 16
 whitenoise>=6.7.0,<6.8
17 17
 
18 18
 # Linting
19
-pylint>=3.1.0
19
+pylint>=3.2.4
20 20
 pylint-django>=2.5.5
21 21
 black>=24.4.2
22 22
 

+ 1
- 1
src/oscar/apps/catalogue/managers.py Vedi File

@@ -100,7 +100,7 @@ class ProductQuerySet(models.query.QuerySet):
100 100
         )
101 101
         product_options = Option.objects.filter(product=OuterRef("pk"))
102 102
         return (
103
-            self.select_related("product_class")
103
+            self.select_related("product_class")  # pylint:disable=E1102
104 104
             .annotate(
105 105
                 has_product_class_options=Exists(product_class_options),
106 106
                 has_product_options=Exists(product_options),

Loading…
Annulla
Salva