Showing 425 of 542 total issues
Avoid too many return
statements within this function. Open
Open
return match_val
Avoid too many return
statements within this function. Open
Open
return (value, InvalidAttribute(self, ['Value must be an instance of `date`']))
Avoid too many return
statements within this function. Open
Open
return (sub_attrs, data, errors, objects)
Avoid too many return
statements within this function. Open
Open
return (date.fromordinal(int_value + date(1900, 1, 1).toordinal() - 1), None)
Avoid too many return
statements within this function. Open
Open
return False
Avoid too many return
statements within this function. Open
Open
return (value, InvalidAttribute(self, ['Value must be an instance of `time`']))
Avoid too many return
statements within this function. Open
Open
return True
Avoid too many return
statements within this function. Open
Open
return (value, InvalidAttribute(self, ['Time must be 0:0:0.0']))
Avoid too many return
statements within this function. Open
Open
return (value, InvalidAttribute(self, ['String must be a valid date']))
Avoid too many return
statements within this function. Open
Open
return (value, InvalidAttribute(self, ['Number must be a valid time']))
Avoid too many return
statements within this function. Open
Open
return (time(hour, minutes, seconds), None)
Avoid too many return
statements within this function. Open
Open
return (value, InvalidAttribute(self, ['String must be a valid datetime']))
Avoid too many return
statements within this function. Open
Open
return (value, InvalidAttribute(self, ['Value must be an instance of `datetime`']))
Avoid too many return
statements within this function. Open
Open
return (None, InvalidAttribute(self, ['Multiple matching objects with primary attribute = {}'.format(value)]))
Avoid too many return
statements within this function. Open
Open
return False
Avoid too many return
statements within this function. Open
Open
return True
Avoid too many return
statements within this function. Open
Open
return (datetime.combine(date_value, time_value), None)
Avoid too many return
statements within this function. Open
Open
return False
Avoid too many return
statements within this function. Open
Open
return (datetime_value.date(), None)
Avoid too many return
statements within this function. Open
Open
return (None, InvalidAttribute(self, ['Multiple matching objects with primary attribute = {}'.format(value)]))