File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 3333import sys
3434
3535# Import from cffi
36- from cffi import FFI
36+ from cffi import FFI # type: ignore
3737
3838# Import from pygit2
3939try :
40- from _build import get_libgit2_paths
40+ from _build import get_libgit2_paths # type: ignore
4141except ImportError :
4242 from ._build import get_libgit2_paths
4343
8585]
8686h_source = []
8787for h_file in h_files :
88- h_file = dir_path / 'decl' / h_file
88+ h_file = dir_path / 'decl' / h_file # type: ignore
8989 with codecs .open (h_file , 'r' , 'utf-8' ) as f :
9090 h_source .append (f .read ())
9191
Original file line number Diff line number Diff line change 2626try :
2727 from functools import cached_property
2828except ImportError :
29- from cached_property import cached_property
29+ from cached_property import cached_property # type: ignore
3030
3131# Import from pygit2
3232from .errors import check_error
Original file line number Diff line number Diff line change 2424# Boston, MA 02110-1301, USA.
2525
2626# Import from pygit2
27- from ._libgit2 import ffi , lib as C # noqa: F401
27+ from ._libgit2 import ffi , lib as C # type: ignore # noqa: F401
You can’t perform that action at this time.
0 commit comments