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 3333from pathlib import Path
3434
3535# Import from cffi
36- from cffi import FFI # type: ignore
36+ from cffi import FFI
3737
3838# Import from pygit2
3939try :
Original file line number Diff line number Diff line change 11pytest
22pytest-cov
33mypy
4+ types-cffi
Original file line number Diff line number Diff line change 2828# Import setuptools before distutils to avoid user warning
2929import os
3030import sys
31- from distutils import log
31+ from distutils import log # type: ignore[attr-defined]
3232from distutils .command .build import build
3333from distutils .command .sdist import sdist
3434from pathlib import Path
@@ -129,7 +129,7 @@ def run(self):
129129
130130# On Windows we package up the dlls with the plugin.
131131if os .name == 'nt' :
132- cmdclass ['build' ] = BuildWithDLLs
132+ cmdclass ['build' ] = BuildWithDLLs # type: ignore[assignment]
133133
134134src = __dir__ / 'src'
135135pygit2_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