Skip to content

Commit 595bda1

Browse files
committed
Merge and update variable and params annotations from typeshed
1 parent 75d21fe commit 595bda1

File tree

4 files changed

+336
-169
lines changed

4 files changed

+336
-169
lines changed

mypy.ini

Lines changed: 1 addition & 1 deletion
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

Lines changed: 4 additions & 0 deletions
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 be nearly on par with typeshed.\* -- by :user:`Avasam`
4+
\* Excluding ``TypeVar``, ``overload``, and return types are currently inferred.

0 commit comments

Comments
 (0)