@@ -30,7 +30,7 @@ def __init__(self, lower_bound=None, upper_bound=None):
3030 if self .upper_bound < self .lower_bound :
3131 raise ValueError ("Upper bound must be greater than or equal to lower bound" )
3232
33- def contains (self , bounds : Union [BaseBounds , "BaseValue" ]) -> bool :
33+ def contains (self , bounds : Union [BaseBounds , "BaseValue" ]) -> bool : # noqa: F821
3434 """
3535 Check if another bounds or value object is a subset of this range.
3636
@@ -59,7 +59,9 @@ def contains(self, bounds: Union[BaseBounds, "BaseValue"]) -> bool:
5959
6060 return bounds .lower_bound >= self .lower_bound and bounds .upper_bound <= self .upper_bound
6161
62- def union (self , * others : Union ["IntegerBounds" , "IntegerValue" ]) -> "IntegerBounds" :
62+ def union (self ,
63+ * others : Union ["IntegerBounds" , "IntegerValue" ] # noqa: F821
64+ ) -> "IntegerBounds" : # noqa: F821
6365 """
6466 Return the union of this bounds and other bounds.
6567
@@ -94,7 +96,7 @@ def union(self, *others: Union["IntegerBounds", "IntegerValue"]) -> "IntegerBoun
9496 upper = bounds .upper_bound
9597 return IntegerBounds (lower_bound = lower , upper_bound = upper )
9698
97- def update (self , * others : Union ["IntegerBounds" , "IntegerValue" ]):
99+ def update (self , * others : Union ["IntegerBounds" , "IntegerValue" ]): # noqa: F821
98100 """
99101 Update this bounds to include other bounds.
100102
0 commit comments