Skip to content

Commit adc40f2

Browse files
committed
Merge and update variable and params annotations from typeshed
1 parent 544b332 commit adc40f2

File tree

4 files changed

+331
-170
lines changed

4 files changed

+331
-170
lines changed

mypy.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ explicit_package_bases = True
99
exclude = (?x)(
1010
^build/
1111
| ^.tox/
12-
| ^.egg/
12+
| ^.eggs/
1313
| ^pkg_resources/tests/data/my-test-package-source/setup.py$ # Duplicate module name
1414
| ^.+?/(_vendor|extern)/ # Vendored
1515
| ^setuptools/_distutils/ # Vendored

newsfragments/4246.feature.rst

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Improve error message when ``pkg_resources.ZipProvider`` tries to extract resources with a missing Egg -- by :user:`Avasam`
2+
3+
Added variables and parameter type annotations to ``pkg_resources`` to be nearly on par with typeshed.\* -- by :user:`Avasam`
4+
\* Excluding ``TypeVar`` and ``overload``. Return types are currently inferred.

0 commit comments

Comments
 (0)