Skip to content

Commit e67e458

Browse files
SjordByron
authored andcommitted
Specify type for PushInfoList.error
1 parent 8797904 commit e67e458

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: git/remote.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def __new__(cls) -> 'PushInfoList':
123123

124124
def __init__(self) -> None:
125125
super().__init__('push_infos')
126-
self.error = None
126+
self.error: Optional[Exception] = None
127127

128128
def raise_if_error(self) -> None:
129129
"""

0 commit comments

Comments
 (0)