File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,6 @@ disable=
9090 cyclic-import, # TODO: Resolve cyclic imports
9191 no-self-use, # TODO: Convert methods to functions where appropriate
9292 consider-using-ternary, # TODO: Consider ternary expressions
93- chained-comparison, # TODO: Simplify chained comparison between operands
9493 too-many-branches, # TODO: Simplify or ignore as appropriate
9594 missing-docstring, # TODO: Fix missing docstring
9695
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ def is_valid(self, value):
4747 Returns:
4848 bool: True if valid, False otherwise.
4949 """
50- return value >= self .min_value and value <= self .max_value
50+ return self .min_value <= value <= self .max_value
5151
5252 @classmethod
5353 def cast_to_type (cls , value ):
You can’t perform that action at this time.
0 commit comments