Skip to content

Commit ca5a2e8

Browse files
committed
Add missing parentheses around tuple constructor
1 parent 019f270 commit ca5a2e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/refs/log.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def from_line(cls, line: bytes) -> "RefLogEntry":
145145
actor = Actor._from_string(info[82 : email_end + 1])
146146
time, tz_offset = parse_date(info[email_end + 2 :]) # skipcq: PYL-W0621
147147

148-
return RefLogEntry(oldhexsha, newhexsha, actor, (time, tz_offset), msg) # type: ignore[call-arg]
148+
return RefLogEntry((oldhexsha, newhexsha, actor, (time, tz_offset), msg)) # type: ignore [arg-type]
149149

150150

151151
class RefLog(List[RefLogEntry], Serializable):

0 commit comments

Comments
 (0)