This rule raises an issue when an incorrect value is set as an attribute of datetime.date, datetime.time, or
datetime.datetime
Setting a date attribute value with a value which is out of the range of possible values will lead to a ValueError.
Set attribute values with values that are within the range of possible values.
def foo():
dt = datetime(year=2024, day=66, month=1, hour=16, minute=1) # ValueError: day is out of range for month
def foo():
dt = datetime(year=2024, day=1, month=1, hour=16, minute=1)