Skip to content

Commit af98d44

Browse files
committed
fix lint
1 parent c92bed3 commit af98d44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reactpy_django/utils.py

Lines changed: 1 addition & 1 deletion
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)