@@ -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
@@ -31,10 +34,15 @@ disable_error_code = attr-defined
31
34
disable_error_code = import-not-found
32
35
33
36
# - distutils._modified has different errors on Python 3.8 [import-untyped], on Python 3.9+ [import-not-found]
34
- # - All jaraco modules are still untyped
35
- # - _validate_project sometimes complains about trove_classifiers (#4296)
36
- # - wheel appears to be untyped
37
- [mypy-distutils._modified,jaraco.*,trove_classifiers,wheel.*]
37
+ # - The following are not marked as py.typed:
38
+ # - jaraco.develop: https://github.com/jaraco/jaraco.develop/issues/22
39
+ # - jaraco.envs: https://github.com/jaraco/jaraco.envs/issues/7
40
+ # - jaraco.packaging: https://github.com/jaraco/jaraco.packaging/issues/20
41
+ # - jaraco.path: https://github.com/jaraco/jaraco.path/issues/2
42
+ # - jaraco.test: https://github.com/jaraco/jaraco.test/issues/7
43
+ # - jaraco.text: https://github.com/jaraco/jaraco.text/issues/17
44
+ # - wheel: does not intend on exposing a programatic API https://github.com/pypa/wheel/pull/610#issuecomment-2081687671
45
+ [mypy-distutils._modified,jaraco.develop,jaraco.envs,jaraco.packaging.*,jaraco.path,jaraco.test.*,jaraco.text,wheel.*]
38
46
ignore_missing_imports = True
39
47
40
48
# Even when excluding a module, import issues can show up due to following import
0 commit comments