Skip to content

Commit e5b667d

Browse files
committed
fix lint warning
1 parent c1d8b8f commit e5b667d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reactpy_django/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ def django_query_postprocessor(
264264
# Force the query to execute
265265
getattr(data, field.name, None)
266266

267-
if many_to_one and type(field) == ManyToOneRel:
267+
if many_to_one and type(field) == ManyToOneRel: # noqa: #E721
268268
prefetch_fields.append(field.related_name or f"{field.name}_set")
269269

270270
elif many_to_many and isinstance(field, ManyToManyField):

0 commit comments

Comments
 (0)