Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e6f340c

Browse filesBrowse files
committed
Rmv runtime_checkable < py3.8
1 parent deafa6a commit e6f340c
Copy full SHA for e6f340c

2 files changed

+2-2Lines changed: 2 additions & 2 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎git/objects/submodule/base.py‎

Copy file name to clipboardExpand all lines: git/objects/submodule/base.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -927,7 +927,7 @@ def remove(self, module: bool = True, force: bool = False,
927927
import gc
928928
gc.collect()
929929
try:
930-
rmtree(wtd) # type: ignore ## str()?
930+
rmtree(str(wtd))
931931
except Exception as ex:
932932
if HIDE_WINDOWS_KNOWN_ERRORS:
933933
raise SkipTest("FIXME: fails with: PermissionError\n {}".format(ex)) from ex
Collapse file

‎git/types.py‎

Copy file name to clipboardExpand all lines: git/types.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class HSH_TD(TypedDict):
8080
files: Dict[PathLike, Files_TD]
8181

8282

83-
@runtime_checkable
83+
# @runtime_checkable
8484
class RepoLike(Protocol):
8585
"""Protocol class to allow structural type-checking of Repo
8686
e.g. when cannot import due to circular imports"""

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.