Skip to content

Commit 3279406

Browse files
committed
pkg_resources: Merge @overload and TypeVar annotations from typeshed
1 parent d1bea1b commit 3279406

File tree

3 files changed

+182
-42
lines changed

3 files changed

+182
-42
lines changed

mypy.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ exclude = (?x)(
1616
| ^setuptools/config/_validate_pyproject/ # Auto-generated
1717
| ^setuptools/tests/bdist_wheel_testdata/ # Duplicate module name
1818
)
19+
# Too many false-positives
20+
disable_error_code = overload-overlap
1921

2022
# Ignoring attr-defined because setuptools wraps a lot of distutils classes, adding new attributes,
2123
# w/o updating all the attributes and return types from the base classes for type-checkers to understand

0 commit comments

Comments
 (0)