File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -129,11 +129,11 @@ def class_and_range_mutually_exclusive(
129129 def inclusive_bounds_require_range (self : "FunctionalClassificationBase" ) -> "FunctionalClassificationBase" :
130130 """Inclusive bounds may only be set if a range is provided. If they are unset, default them."""
131131 if self .class_ is not None :
132- if self .inclusive_lower_bound :
132+ if self .inclusive_lower_bound is not None :
133133 raise ValidationError (
134134 "An inclusive lower bound may not be set on a class based functional classification."
135135 )
136- if self .inclusive_upper_bound :
136+ if self .inclusive_upper_bound is not None :
137137 raise ValidationError (
138138 "An inclusive upper bound may not be set on a class based functional classification."
139139 )
You can’t perform that action at this time.
0 commit comments