File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 33
33
from pathlib import Path
34
34
35
35
# Import from cffi
36
- from cffi import FFI # type: ignore
36
+ from cffi import FFI
37
37
38
38
# Import from pygit2
39
39
try :
Original file line number Diff line number Diff line change 1
1
pytest
2
2
pytest-cov
3
3
mypy
4
+ types-cffi
Original file line number Diff line number Diff line change 28
28
# Import setuptools before distutils to avoid user warning
29
29
import os
30
30
import sys
31
- from distutils import log
31
+ from distutils import log # type: ignore[attr-defined]
32
32
from distutils .command .build import build
33
33
from distutils .command .sdist import sdist
34
34
from pathlib import Path
@@ -129,7 +129,7 @@ def run(self):
129
129
130
130
# On Windows we package up the dlls with the plugin.
131
131
if os .name == 'nt' :
132
- cmdclass ['build' ] = BuildWithDLLs
132
+ cmdclass ['build' ] = BuildWithDLLs # type: ignore[assignment]
133
133
134
134
src = __dir__ / 'src'
135
135
pygit2_exts = [str (path ) for path in sorted (src .iterdir ()) if path .suffix == '.c' ]
You can’t perform that action at this time.
0 commit comments