Showing 1,786 of 2,094 total issues
Avoid too many return
statements within this function. Open
Open
return "UUIDField"
Avoid too many return
statements within this function. Open
Open
return f"{dt.year:04d}-{dt.month:02d}-{dt.day:02d} 00:00:00"
Avoid too many return
statements within this function. Open
Open
return "PositiveIntegerField"
Avoid too many return
statements within this function. Open
Open
return getattr(dt, lookup_type)
Avoid too many return
statements within this function. Open
Open
return f"{dt.year:04d}-{dt.month:02d}-{dt.day:02d}"
Avoid too many return
statements within this function. Open
Open
return f"{dt.hour:02d}:{dt.minute:02d}:{dt.second:02d}"
Avoid too many return
statements within this function. Open
Open
return (
Avoid too many return
statements within this function. Open
Open
return clause, used_joins if not require_outer else ()
Avoid too many return
statements within this function. Open
Open
return f"{dt.year:04d}-{dt.month:02d}-{dt.day:02d}"
Avoid too many return
statements within this function. Open
Open
return ceil(dt.month / 3)
Avoid too many return
statements within this function. Open
Open
return dt.isocalendar().year
Avoid too many return
statements within this function. Open
Open
return f"{dt.year:04d}-{dt.month:02d}-{dt.day:02d} 00:00:00"
Avoid too many return
statements within this function. Open
Open
return f"{dt.year:04d}-{dt.month:02d}-{dt.day:02d} {dt.hour:02d}:00:00"
Avoid too many return
statements within this function. Open
Open
return "JSONField"
Avoid too many return
statements within this function. Open
Open
return "X'%s'" % value.hex()
Avoid too many return
statements within this function. Open
Open
return "PositiveSmallIntegerField"
Avoid too many return
statements within this function. Open
Open
return converted
Avoid too many return
statements within this function. Open
Open
return super().get_field_type(data_type, description)
Avoid too many return
statements within this function. Open
Open
return "FloatField"
Avoid too many return
statements within this function. Open
Open
return str(value)