We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96d56ba commit 18eaae5Copy full SHA for 18eaae5
src/validataclass/validators/integer_validator.py
@@ -56,8 +56,8 @@ class IntegerValidator(Validator):
56
"""
57
58
# Constants (minimum and maximum values for a 32 bit integer)
59
- DEFAULT_MIN_VALUE = -2147483648 # -2^32
60
- DEFAULT_MAX_VALUE = 2147483647 # 2^32 - 1
+ DEFAULT_MIN_VALUE = -2147483648 # -2^31
+ DEFAULT_MAX_VALUE = 2147483647 # 2^31 - 1
61
62
# Value constraints
63
min_value: Optional[int] = None
0 commit comments