Skip to content

Commit

Permalink
Format first Git.execute overload stub like the others
Browse files Browse the repository at this point in the history
This makes it easier to read along with, and compare to, the
other overloads.
  • Loading branch information
EliahKagan committed Feb 25, 2024
1 parent 1915e7c commit 49da7ae
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion git/cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,12 @@ def version_info(self) -> Tuple[int, ...]:
return self._version_info

@overload
def execute(self, command: Union[str, Sequence[Any]], *, as_process: Literal[True]) -> "AutoInterrupt":
def execute(
self,
command: Union[str, Sequence[Any]],
*,
as_process: Literal[True],
) -> "AutoInterrupt":
...

@overload
Expand Down

0 comments on commit 49da7ae

Please sign in to comment.