Help tools know the type of a Commit's `parents` · gitpython-developers/GitPython@fe42ca7 · GitHub
Skip to content

Commit fe42ca7

Browse files
committed
Help tools know the type of a Commit's parents
mypy seems not to need this, and already infers the specific type List[Commit], but some other type checkers -- at least pylance, and thus probably also pyright -- do not infer this.
1 parent d1ce940 commit fe42ca7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

git/objects/commit.py

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)