Skip to content

Add types to git/config.py #1234

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
May 13, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add typing section to cmd.py
  • Loading branch information
Yobmod committed May 12, 2021
commit 3473060f4b356a6c8ed744ba17ad9aa26ef6aab7
12 changes: 12 additions & 0 deletions git/cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,18 @@
stream_copy,
)

# typing ---------------------------------------------------------------------------

from typing import TYPE_CHECKING

from git.types import TBD

if TYPE_CHECKING:
pass


# ---------------------------------------------------------------------------------

execute_kwargs = {'istream', 'with_extended_output',
'with_exceptions', 'as_process', 'stdout_as_string',
'output_stream', 'with_stdout', 'kill_after_timeout',
Expand Down