diff options
author | luz paz <luzpaz@pm.me> | 2022-05-07 15:59:10 -0400 |
---|---|---|
committer | luz paz <luzpaz@pm.me> | 2022-05-07 15:59:10 -0400 |
commit | dde3a8bd9229ff25ec8bc03c35d937f43233f48e (patch) | |
tree | e4db57c467db566901d53881012f1ccfe3ca9d4a /git/objects/util.py | |
parent | b3166ece31bfb29e89f6ed4bb9214bf1c03791df (diff) | |
download | gitpython-dde3a8bd9229ff25ec8bc03c35d937f43233f48e.tar.gz |
Fix various typos
Found via `codespell -q 3 -S ./git/ext/gitdb,./test/fixtures/reflog_master,./test/fixtures/diff_mode_only,./test/fixtures/reflog_HEAD`
Diffstat (limited to 'git/objects/util.py')
-rw-r--r-- | git/objects/util.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git/objects/util.py b/git/objects/util.py index 187318fe..800eccdf 100644 --- a/git/objects/util.py +++ b/git/objects/util.py @@ -37,7 +37,7 @@ if TYPE_CHECKING: from .submodule.base import Submodule from git.types import Protocol, runtime_checkable else: - # Protocol = Generic[_T] # NNeeded for typing bug #572? + # Protocol = Generic[_T] # Needed for typing bug #572? Protocol = ABC def runtime_checkable(f): @@ -359,7 +359,7 @@ class Traversable(Protocol): out: IterableList[Union['Commit', 'Submodule', 'Tree', 'Blob']] = IterableList(id) out.extend(self.traverse(as_edge=as_edge, *args, **kwargs)) return out - # overloads in subclasses (mypy does't allow typing self: subclass) + # overloads in subclasses (mypy doesn't allow typing self: subclass) # Union[IterableList['Commit'], IterableList['Submodule'], IterableList[Union['Submodule', 'Tree', 'Blob']]] else: # Raise deprecationwarning, doesn't make sense to use this |