diff --git a/mypy.ini b/mypy.ini index 2dc8aab56f..cfd909ba93 100644 --- a/mypy.ini +++ b/mypy.ini @@ -51,16 +51,20 @@ disable_error_code = import-not-found # - support for `SETUPTOOLS_USE_DISTUTILS=stdlib` is dropped (#3625) # for setuptools to import `_distutils` directly # - or non-stdlib distutils typings are exposed +[mypy-distutils.*] +ignore_missing_imports = True + +# - wheel: does not intend on exposing a programmatic API https://github.com/pypa/wheel/pull/610#issuecomment-2081687671 +[mypy-wheel.*] +ignore_missing_imports = True # - The following are not marked as py.typed: # - jaraco: Since mypy 1.12, the root name of the untyped namespace package gets called-out too # - jaraco.develop: https://github.com/jaraco/jaraco.develop/issues/22 # - jaraco.envs: https://github.com/jaraco/jaraco.envs/issues/7 # - jaraco.packaging: https://github.com/jaraco/jaraco.packaging/issues/20 # - jaraco.path: https://github.com/jaraco/jaraco.path/issues/2 -# - jaraco.test: https://github.com/jaraco/jaraco.test/issues/7 # - jaraco.text: https://github.com/jaraco/jaraco.text/issues/17 -# - wheel: does not intend on exposing a programmatic API https://github.com/pypa/wheel/pull/610#issuecomment-2081687671 -[mypy-distutils.*,jaraco,jaraco.develop,jaraco.envs,jaraco.packaging.*,jaraco.path,jaraco.test.*,jaraco.text,wheel.*] +[mypy-jaraco,jaraco.develop,jaraco.envs,jaraco.packaging.*,jaraco.path,jaraco.text] ignore_missing_imports = True # Even when excluding a module, import issues can show up due to following import diff --git a/pyproject.toml b/pyproject.toml index 9dca4c67f4..1a4906fb0c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -59,7 +59,7 @@ test = [ # workaround for pypa/pyproject-hooks#206 "pyproject-hooks!=1.1", - "jaraco.test", + "jaraco.test>=5.5", # py.typed ] doc = [