summaryrefslogtreecommitdiff
path: root/git/cmd.py
diff options
context:
space:
mode:
authorYobmod <yobmod@gmail.com>2021-07-08 11:30:16 +0100
committerYobmod <yobmod@gmail.com>2021-07-08 11:30:16 +0100
commit2e2fe186d09272c3cb6c96467fff362deb90994f (patch)
treeb2ffef306dd111d633e1b3fa66464eda09c5f903 /git/cmd.py
parent873ebe61431c50bb39afd5cafff498b3e1879342 (diff)
downloadgitpython-2e2fe186d09272c3cb6c96467fff362deb90994f.tar.gz
Increase mypy strictness (no_implicit_optional & warn_redundant_casts) and fix errors
Diffstat (limited to 'git/cmd.py')
-rw-r--r--git/cmd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/cmd.py b/git/cmd.py
index 7df85581..dd887a18 100644
--- a/git/cmd.py
+++ b/git/cmd.py
@@ -831,7 +831,7 @@ class Git(LazyMixin):
except cmd_not_found_exception as err:
raise GitCommandNotFound(redacted_command, err) from err
else:
- proc = cast(Popen, proc)
+ # replace with a typeguard for Popen[bytes]?
proc.stdout = cast(BinaryIO, proc.stdout)
proc.stderr = cast(BinaryIO, proc.stderr)