-
Would this library be interested in type hints being added? Is there a reason GitPython library have all type hints ready but this part? If people are open to type hints, I would be glad to help add those. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Ideally, My recommendation is to restrict any contributed types, which are welcome, to the ones ordinary users would encounter while interacting with GitPython and its default object backend (the one that uses |
Beta Was this translation helpful? Give feedback.
Ideally,
gitdb
wouldn't be used anymore, even from GitPython. Apparently that's not the case in practice though so having types that make it easier to work with seems useful nonetheless.My recommendation is to restrict any contributed types, which are welcome, to the ones ordinary users would encounter while interacting with GitPython and its default object backend (the one that uses
git
), and avoid putting any work in types that are related togitdb
being used as pure object database as that shouldn't be done. See #106 as example for how broken it is, besides its sluggish performance.