@@ -8,13 +8,16 @@ warn_redundant_casts = True
8
8
# required to support namespace packages: https://github.com/python/mypy/issues/14057
9
9
explicit_package_bases = True
10
10
exclude = (?x)(
11
+ # Avoid scanning Python files in generated folders
11
12
^build/
12
13
| ^.tox/
13
14
| ^.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$
18
21
)
19
22
# Too many false-positives
20
23
disable_error_code = overload-overlap
@@ -35,10 +38,15 @@ disable_error_code = import-not-found
35
38
# - support for `SETUPTOOLS_USE_DISTUTILS=stdlib` is dropped (#3625)
36
39
# for setuptools to import `_distutils` directly
37
40
# - 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.*]
42
50
ignore_missing_imports = True
43
51
44
52
# Even when excluding a module, import issues can show up due to following import
0 commit comments