Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
warn_unused_configs = True
warn_redundant_casts = True
warn_unused_ignores = True
no_implicit_reexport = True

[mypy-test.*]
disallow_untyped_defs = True
Expand Down
2 changes: 2 additions & 0 deletions pygit2/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
from ._pygit2 import GitError
from .ffi import C, ffi

__all__ = ['GitError']

value_errors = set([C.GIT_EEXISTS, C.GIT_EINVALIDSPEC, C.GIT_EAMBIGUOUS])


Expand Down
2 changes: 2 additions & 0 deletions pygit2/ffi.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@
# Import from pygit2
from ._libgit2 import ffi # noqa: F401
from ._libgit2 import lib as C # type: ignore # noqa: F401

__all__ = ['C', 'ffi']
Loading