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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy