|
36 | 36 |
|
37 | 37 | # typing------------------------------------------------------- |
38 | 38 |
|
39 | | -from typing import Any, Callable, Optional, Set, TYPE_CHECKING, Union |
| 39 | +from typing import Any, Callable, Optional, TYPE_CHECKING, Union |
40 | 40 |
|
41 | 41 | from git.types import PathLike, Literal |
42 | 42 |
|
@@ -115,7 +115,7 @@ class PushInfo(object): |
115 | 115 | '=': UP_TO_DATE, |
116 | 116 | '!': ERROR} |
117 | 117 |
|
118 | | - def __init__(self, flags: Set[int], local_ref: SymbolicReference, remote_ref_string: str, remote, |
| 118 | + def __init__(self, flags: int, local_ref: SymbolicReference, remote_ref_string: str, remote, |
119 | 119 | old_commit: Optional[bytes] = None, summary: str = '') -> None: |
120 | 120 | """ Initialize a new instance """ |
121 | 121 | self.flags = flags |
@@ -255,8 +255,8 @@ def refresh(cls) -> Literal[True]: |
255 | 255 |
|
256 | 256 | return True |
257 | 257 |
|
258 | | - def __init__(self, ref: SymbolicReference, flags: Set[int], note: str = '', old_commit: Optional['Commit'] = None, |
259 | | - remote_ref_path: Optional[PathLike] = None): |
| 258 | + def __init__(self, ref: SymbolicReference, flags: int, note: str = '', old_commit: Optional['Commit'] = None, |
| 259 | + remote_ref_path: Optional[PathLike] = None) -> None: |
260 | 260 | """ |
261 | 261 | Initialize a new instance |
262 | 262 | """ |
|
0 commit comments