@@ -8,13 +8,16 @@ warn_redundant_casts = True
88# required to support namespace packages: https://github.com/python/mypy/issues/14057
99explicit_package_bases = True
1010exclude = (?x)(
11+ # Avoid scanning Python files in generated folders
1112 ^build/
1213 | ^.tox/
1314 | ^.eggs/
14- | ^pkg_resources/tests/data/my-test-package-source/setup.py$ # Duplicate module name
15- | ^setuptools/_vendor/ # Vendored
16- | ^setuptools/_distutils/ # Vendored
17- | ^setuptools/config/_validate_pyproject/ # Auto-generated
15+ | ^setuptools/config/_validate_pyproject/
16+ # These are vendored
17+ | ^setuptools/_vendor/
18+ | ^setuptools/_distutils/
19+ # Duplicate module name
20+ | ^pkg_resources/tests/data/my-test-package-source/setup.py$
1821 )
1922# Too many false-positives
2023disable_error_code = overload-overlap
@@ -35,10 +38,15 @@ disable_error_code = import-not-found
3538# - support for `SETUPTOOLS_USE_DISTUTILS=stdlib` is dropped (#3625)
3639# for setuptools to import `_distutils` directly
3740# - or non-stdlib distutils typings are exposed
38- # - All jaraco modules are still untyped
39- # - _validate_project sometimes complains about trove_classifiers (#4296)
40- # - wheel appears to be untyped
41- [mypy-distutils.*,jaraco.*,trove_classifiers,wheel.*]
41+ # - The following are not marked as py.typed:
42+ # - jaraco.develop: https://github.com/jaraco/jaraco.develop/issues/22
43+ # - jaraco.envs: https://github.com/jaraco/jaraco.envs/issues/7
44+ # - jaraco.packaging: https://github.com/jaraco/jaraco.packaging/issues/20
45+ # - jaraco.path: https://github.com/jaraco/jaraco.path/issues/2
46+ # - jaraco.test: https://github.com/jaraco/jaraco.test/issues/7
47+ # - jaraco.text: https://github.com/jaraco/jaraco.text/issues/17
48+ # - wheel: does not intend on exposing a programatic API https://github.com/pypa/wheel/pull/610#issuecomment-2081687671
49+ [mypy-distutils.*,jaraco.develop,jaraco.envs,jaraco.packaging.*,jaraco.path,jaraco.test.*,jaraco.text,wheel.*]
4250ignore_missing_imports = True
4351
4452# Even when excluding a module, import issues can show up due to following import
0 commit comments