You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The write_keyframes function started failing builds due to a lint issue (see #702). The expression str(int(t.value))).format(v) seems like it's unlikely to be correct. An integer converted to a string would never be a useful format template so it's unclear what the code is attempting to do.
Additionally the outer format on for the string "{}={}" is being passed a single value (a generator) rather than two values.
Code below:
def write_keyframes(kfdict):
"""Build a MLT keyframe string"""
return ';'.join('{}={}'.format(str(int(t.value))).format(v) # noqa: F524
for t, v in kfdict.items())