@@ -31,9 +31,8 @@ exclude = (?x)(
3131 # These are vendored
3232 | ^setuptools/_vendor/
3333 | ^setuptools/_distutils/
34- # Duplicate module name
35- | ^pkg_resources/tests/data/my-test-package-source/setup.py$
3634 )
35+
3736[mypy-setuptools.*]
3837disable_error_code =
3938 # DistributionMetadata.license_files and DistributionMetadata.license_file
@@ -43,30 +42,25 @@ disable_error_code =
4342 # See issue described below about distutils across Python versions
4443 has-type,
4544
46- # - pkg_resources tests create modules that won't exists statically before the test is run.
47- # Let's ignore all "import-not-found" since, if an import really wasn't found, then the test would fail.
48- [mypy-pkg_resources.tests.*]
49- disable_error_code = import-not-found
50-
51- # - distutils doesn't exist on Python 3.12, unfortunately, this means typing
52- # will be missing for subclasses of distutils on Python 3.12 until either:
53- # - support for `SETUPTOOLS_USE_DISTUTILS=stdlib` is dropped (#3625)
54- # for setuptools to import `_distutils` directly
55- # - or non-stdlib distutils typings are exposed
45+ # distutils doesn't exist on Python 3.12, unfortunately, this means typing
46+ # will be missing for subclasses of distutils on Python 3.12 until either:
47+ # - support for `SETUPTOOLS_USE_DISTUTILS=stdlib` is dropped (#3625)
48+ # for setuptools to import `_distutils` directly
49+ # - or non-stdlib distutils typings are exposed
5650[mypy-distutils.*]
5751ignore_missing_imports = True
5852
59- # - wheel: does not intend on exposing a programmatic API https://github.com/pypa/wheel/pull/610#issuecomment-2081687671
53+ # wheel: does not intend on exposing a programmatic API https://github.com/pypa/wheel/pull/610#issuecomment-2081687671
6054[mypy-wheel.*]
6155follow_untyped_imports = True
62- # - The following are not marked as py.typed:
56+
57+ # The following are not marked as py.typed:
6358# - jaraco: Since mypy 1.12, the root name of the untyped namespace package gets called-out too
6459# - jaraco.develop: https://github.com/jaraco/jaraco.develop/issues/22
6560# - jaraco.envs: https://github.com/jaraco/jaraco.envs/issues/7
6661# - jaraco.packaging: https://github.com/jaraco/jaraco.packaging/issues/20
6762# - jaraco.path: https://github.com/jaraco/jaraco.path/issues/2
68- # - jaraco.text: https://github.com/jaraco/jaraco.text/issues/17
69- [mypy-jaraco,jaraco.develop.*,jaraco.envs,jaraco.packaging.*,jaraco.path,jaraco.text]
63+ [mypy-jaraco,jaraco.develop.*,jaraco.envs,jaraco.packaging.*,jaraco.path]
7064follow_untyped_imports = True
7165
7266# Even when excluding a module, import issues can show up due to following import
0 commit comments