There was an error while loading. Please reload this page.
1 parent deafa6a commit e6f340cCopy full SHA for e6f340c
2 files changed
git/objects/submodule/base.py
@@ -927,7 +927,7 @@ def remove(self, module: bool = True, force: bool = False,
927
import gc
928
gc.collect()
929
try:
930
- rmtree(wtd) # type: ignore ## str()?
+ rmtree(str(wtd))
931
except Exception as ex:
932
if HIDE_WINDOWS_KNOWN_ERRORS:
933
raise SkipTest("FIXME: fails with: PermissionError\n {}".format(ex)) from ex
git/types.py
@@ -80,7 +80,7 @@ class HSH_TD(TypedDict):
80
files: Dict[PathLike, Files_TD]
81
82
83
-@runtime_checkable
+# @runtime_checkable
84
class RepoLike(Protocol):
85
"""Protocol class to allow structural type-checking of Repo
86
e.g. when cannot import due to circular imports"""
0 commit comments