There was an error while loading. Please reload this page.
1 parent e6f340c commit ed58e2fCopy full SHA for ed58e2f
2 files changed
git/objects/submodule/base.py
@@ -142,7 +142,7 @@ def _set_cache_(self, attr: str) -> None:
142
reader: SectionConstraint = self.config_reader()
143
# default submodule values
144
try:
145
- self.path = reader.get('path')
+ self.path: PathLike = reader.get('path')
146
except cp.NoSectionError as e:
147
if self.repo.working_tree_dir is not None:
148
raise ValueError("This submodule instance does not exist anymore in '%s' file"
git/types.py
@@ -5,7 +5,7 @@
5
import os
6
import sys
7
from typing import (Callable, Dict, NoReturn, Tuple, Union, Any, Iterator, # noqa: F401
8
- NamedTuple, TYPE_CHECKING, TypeVar, runtime_checkable) # noqa: F401
+ NamedTuple, TYPE_CHECKING, TypeVar) # noqa: F401
9
10
11
if sys.version_info[:2] >= (3, 8):
0 commit comments