Skip to content

Commit 5dfb3b1

Browse files
committed
exempt line that triggers lint bug on earlier versions
1 parent 4afef26 commit 5dfb3b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django_enum/fields.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1097,7 +1097,7 @@ def contribute_to_class(
10971097

10981098
if is_strict or is_conform or (is_eject and self.strict) and flags:
10991099

1100-
constraint = (
1100+
constraint = ( # pylint: disable=E1131
11011101
Q(**{f"{name}__gte": min(*flags)})
11021102
& Q(**{f"{name}__lte": reduce(or_, flags)})
11031103
) | Q(**{name: 0})

0 commit comments

Comments
 (0)