We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44bac2e commit 2932e12Copy full SHA for 2932e12
mypy.ini
@@ -3,6 +3,7 @@
3
warn_unused_configs = True
4
warn_redundant_casts = True
5
warn_unused_ignores = True
6
+no_implicit_reexport = True
7
8
[mypy-test.*]
9
disallow_untyped_defs = True
pygit2/errors.py
@@ -27,6 +27,8 @@
27
from ._pygit2 import GitError
28
from .ffi import C, ffi
29
30
+__all__ = ['GitError']
31
+
32
value_errors = set([C.GIT_EEXISTS, C.GIT_EINVALIDSPEC, C.GIT_EAMBIGUOUS])
33
34
pygit2/ffi.py
@@ -26,3 +26,5 @@
26
# Import from pygit2
from ._libgit2 import ffi # noqa: F401
from ._libgit2 import lib as C # type: ignore # noqa: F401
+__all__ = ['C', 'ffi']
0 commit comments