Skip to content

Commit 8adc1f7

Browse files
Black fixes
1 parent 6c44662 commit 8adc1f7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

django_mongoengine_filter/filters.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,11 @@ def __init__(
7070
@property
7171
def field(self):
7272
if not hasattr(self, "_field"):
73-
help_text = _("This is an exclusion filter") if self.exclude else self.extra.pop("help_text", "")
73+
help_text = (
74+
_("This is an exclusion filter")
75+
if self.exclude
76+
else self.extra.pop("help_text", "")
77+
)
7478
if self.lookup_type is None or isinstance(
7579
self.lookup_type, (list, tuple)
7680
):

0 commit comments

Comments
 (0)