Skip to content

Commit 0466d65

Browse files
committed
Re-enable mypy
1 parent e55c19e commit 0466d65

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mypy.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,6 @@ ignore_missing_imports = True
5151

5252
# Even when excluding a module, import issues can show up due to following import
5353
# https://github.com/python/mypy/issues/11936#issuecomment-1466764006
54-
[mypy-setuptools.config._validate_pyproject.*,setuptools._distutils.*]
54+
[mypy-setuptools.config._validate_pyproject.*,setuptools._vendor.*,setuptools._distutils.*]
5555
follow_imports = silent
5656
# silent => ignore errors when following imports

setuptools/tests/test_build_ext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def get_build_ext_cmd(self, optional: bool, **opts):
183183
"eggs.c": "#include missingheader.h\n",
184184
".build": {"lib": {}, "tmp": {}},
185185
}
186-
path.build(files) # type: ignore[arg-type] # jaraco/path#232
186+
path.build(files) # jaraco/path#232
187187
extension = Extension('spam.eggs', ['eggs.c'], optional=optional)
188188
dist = Distribution(dict(ext_modules=[extension]))
189189
dist.script_name = 'setup.py'

0 commit comments

Comments
 (0)