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
2 changes: 1 addition & 1 deletion pygit2/_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
from pathlib import Path

# Import from cffi
from cffi import FFI # type: ignore
from cffi import FFI

# Import from pygit2
try:
Expand Down
1 change: 1 addition & 0 deletions requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
pytest
pytest-cov
mypy
types-cffi
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
# Import setuptools before distutils to avoid user warning
import os
import sys
from distutils import log
from distutils import log # type: ignore[attr-defined]
from distutils.command.build import build
from distutils.command.sdist import sdist
from pathlib import Path
Expand Down Expand Up @@ -129,7 +129,7 @@ def run(self):

# On Windows we package up the dlls with the plugin.
if os.name == 'nt':
cmdclass['build'] = BuildWithDLLs
cmdclass['build'] = BuildWithDLLs # type: ignore[assignment]

src = __dir__ / 'src'
pygit2_exts = [str(path) for path in sorted(src.iterdir()) if path.suffix == '.c']
Expand Down
Loading