Skip to content

Commit

Permalink
pkg_resources: Merge @overload and TypeVar annotations from types…
Browse files Browse the repository at this point in the history
…hed (#4390)
  • Loading branch information
abravalheri authored Jun 24, 2024
2 parents 11bd24c + 82145bc commit 48ce5ed
Show file tree
Hide file tree
Showing 3 changed files with 185 additions and 42 deletions.
2 changes: 2 additions & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ exclude = (?x)(
| ^setuptools/config/_validate_pyproject/ # Auto-generated
| ^setuptools/tests/bdist_wheel_testdata/ # Duplicate module name
)
# Too many false-positives
disable_error_code = overload-overlap

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

0 comments on commit 48ce5ed

Please sign in to comment.