summaryrefslogtreecommitdiff
path: root/git/cmd.py
diff options
context:
space:
mode:
authorYobmod <yobmod@gmail.com>2021-03-16 22:08:20 +0000
committerYobmod <yobmod@gmail.com>2021-03-16 22:08:20 +0000
commit5232c89de10872a6df6227c5dcea169bd1aa6550 (patch)
treedc23db6e4a360c9a36321050bed7d5f445b4922f /git/cmd.py
parent9562ae2e2436e052d31c40d5f9d3d0318f6c4575 (diff)
downloadgitpython-5232c89de10872a6df6227c5dcea169bd1aa6550.tar.gz
add types to git.__init__, compat, db, diff, exc, util
Diffstat (limited to 'git/cmd.py')
-rw-r--r--git/cmd.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/git/cmd.py b/git/cmd.py
index ec630d93..0395a708 100644
--- a/git/cmd.py
+++ b/git/cmd.py
@@ -210,7 +210,7 @@ class Git(LazyMixin):
# - a GitCommandNotFound error is spawned by ourselves
# - a PermissionError is spawned if the git executable provided
# cannot be executed for whatever reason
-
+
has_git = False
try:
cls().version()
@@ -498,7 +498,7 @@ class Git(LazyMixin):
# skipcq: PYL-E0301
def __iter__(self):
return self
-
+
def __next__(self):
return self.next()
@@ -639,7 +639,7 @@ class Git(LazyMixin):
:param env:
A dictionary of environment variables to be passed to `subprocess.Popen`.
-
+
:param max_chunk_size:
Maximum number of bytes in one chunk of data passed to the output_stream in
one invocation of write() method. If the given number is not positive then