Skip to content

Commit

Permalink
Merge and update variable and params annotations from typeshed
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam committed May 9, 2024
1 parent 75d21fe commit 595bda1
Show file tree
Hide file tree
Showing 4 changed files with 336 additions and 169 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 be nearly on par with typeshed.\* -- by :user:`Avasam`
\* Excluding ``TypeVar``, ``overload``, and return types are currently inferred.
Loading

0 comments on commit 595bda1

Please sign in to comment.