summaryrefslogtreecommitdiff
path: root/git/repo/base.py
diff options
context:
space:
mode:
authorYobmod <yobmod@gmail.com>2021-08-02 14:56:03 +0100
committerYobmod <yobmod@gmail.com>2021-08-02 14:56:03 +0100
commit91fce331de16de6039c94cd4d7314184a5763e61 (patch)
treee0ef280c84bddf90be0651f414b54689bcc3070b /git/repo/base.py
parent0525c17bc287a54bd670919a374e226345d96260 (diff)
downloadgitpython-91fce331de16de6039c94cd4d7314184a5763e61.tar.gz
increase mypy strictness (warn unused ignored and warn unreachable)
Diffstat (limited to 'git/repo/base.py')
-rw-r--r--git/repo/base.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/git/repo/base.py b/git/repo/base.py
index 07cf7adf..2609bf55 100644
--- a/git/repo/base.py
+++ b/git/repo/base.py
@@ -200,7 +200,6 @@ class Repo(object):
# END while curpath
if self.git_dir is None:
- self.git_dir = cast(PathLike, self.git_dir)
raise InvalidGitRepositoryError(epath)
self._bare = False