diff options
author | Yobmod <yobmod@gmail.com> | 2021-08-02 14:00:33 +0100 |
---|---|---|
committer | Yobmod <yobmod@gmail.com> | 2021-08-02 14:00:33 +0100 |
commit | 2163322ef62fa97573ac94298261161fd9721993 (patch) | |
tree | 2eb3a713664a8d5e37a962141fcfdf1ecbca75f0 /git/objects/util.py | |
parent | c878771e3a31c983a0c3468396ed33a532f87e98 (diff) | |
download | gitpython-2163322ef62fa97573ac94298261161fd9721993.tar.gz |
increase mypy strictness (warn unused ignored)
Diffstat (limited to 'git/objects/util.py')
-rw-r--r-- | git/objects/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/objects/util.py b/git/objects/util.py index f627211e..d3842cfb 100644 --- a/git/objects/util.py +++ b/git/objects/util.py @@ -346,7 +346,7 @@ class Traversable(Protocol): if not as_edge: out: IterableList[Union['Commit', 'Submodule', 'Tree', 'Blob']] = IterableList(id) - out.extend(self.traverse(as_edge=as_edge, *args, **kwargs)) # type: ignore + out.extend(self.traverse(as_edge=as_edge, *args, **kwargs)) return out # overloads in subclasses (mypy does't allow typing self: subclass) # Union[IterableList['Commit'], IterableList['Submodule'], IterableList[Union['Submodule', 'Tree', 'Blob']]] |