Skip to content

Commit

Permalink
Merge and update variable and params annotations from typeshed (pypa#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam authored May 22, 2024
1 parent 7a68e60 commit 131b6e9
Show file tree
Hide file tree
Showing 4 changed files with 331 additions and 170 deletions.
2 changes: 1 addition & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ explicit_package_bases = True
exclude = (?x)(
^build/
| ^.tox/
| ^.egg/
| ^.eggs/
| ^pkg_resources/tests/data/my-test-package-source/setup.py$ # Duplicate module name
| ^.+?/(_vendor|extern)/ # Vendored
| ^setuptools/_distutils/ # Vendored
Expand Down
4 changes: 4 additions & 0 deletions newsfragments/4246.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Improve error message when ``pkg_resources.ZipProvider`` tries to extract resources with a missing Egg -- by :user:`Avasam`

Added variables and parameter type annotations to ``pkg_resources`` to be nearly on par with typeshed.\* -- by :user:`Avasam`
\* Excluding ``TypeVar`` and ``overload``. Return types are currently inferred.
Loading

0 comments on commit 131b6e9

Please sign in to comment.