mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
pygit2: Workaround python/mypy#16972 (#11584)
To fix the signatures of `clone_repository` and `init_repository` as seen by type checkers.
This commit is contained in:
@@ -1,7 +1,3 @@
|
||||
# stubtest wrongly checks the Python implementation with the cffi type's
|
||||
# stubs, likely due to name shadowing that happens at import-time
|
||||
pygit2.Repository.__init__
|
||||
pygit2.Repository._from_c
|
||||
# @cached_property that fail to get recognized as such by stubtest
|
||||
pygit2.config.ConfigEntry.level
|
||||
pygit2.config.ConfigEntry.raw_name
|
||||
|
||||
Reference in New Issue
Block a user