Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 29c63ac

Browse files
committed
Format first Git.execute overload stub like the others
This makes it easier to read along with, and compare to, the other overloads.
1 parent 1cd73ba commit 29c63ac

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

git/cmd.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,12 @@ def version_info(self) -> Tuple[int, ...]:
922922
return self._version_info
923923

924924
@overload
925-
def execute(self, command: Union[str, Sequence[Any]], *, as_process: Literal[True]) -> "AutoInterrupt":
925+
def execute(
926+
self,
927+
command: Union[str, Sequence[Any]],
928+
*,
929+
as_process: Literal[True],
930+
) -> "AutoInterrupt":
926931
...
927932

928933
@overload

0 commit comments

Comments
 (0)