Skip to content

Commit 48ce5ed

Browse files
authored
pkg_resources: Merge @overload and TypeVar annotations from typeshed (#4390)
2 parents 11bd24c + 82145bc commit 48ce5ed

File tree

3 files changed

+185
-42
lines changed

3 files changed

+185
-42
lines changed

mypy.ini

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

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

0 commit comments

Comments
 (0)