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=
90
90
cyclic-import, # TODO: Resolve cyclic imports
91
91
no-self-use, # TODO: Convert methods to functions where appropriate
92
92
consider-using-ternary, # TODO: Consider ternary expressions
93
- chained-comparison, # TODO: Simplify chained comparison between operands
94
93
too-many-branches, # TODO: Simplify or ignore as appropriate
95
94
missing-docstring, # TODO: Fix missing docstring
96
95
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ def is_valid(self, value):
47
47
Returns:
48
48
bool: True if valid, False otherwise.
49
49
"""
50
- return value >= self .min_value and value <= self .max_value
50
+ return self .min_value <= value <= self .max_value
51
51
52
52
@classmethod
53
53
def cast_to_type (cls , value ):
You can’t perform that action at this time.
0 commit comments