Use PEP 570 syntax in third party stubs (#11554)
Improve __(r)or__
signatures for TypedDict classes (#10565)
Add an upstream_repository field to METADATA.toml (#10487)
Closes: #10478
Update Unused
parameters in stubs/
(#9704)
-
Update _Unused TypeAlias
-
Update
object | None
params -
Replace unused
object
parameters withUnused
alias
Stubtest settings: change ignore_missing_stub
default to false
(#9779)
If you're reading about this commit from an autogenerated changelog entry, this should have no user-visible impact on how the stubs are interpreted by a type checker; it's just an internal change to how typeshed's tests work.
Use typing_extensions.Self
instead of _typeshed.Self
(#9702)
Update mypy_extensions
stubs to 1.0.x (#9675)
Normalise use of Never
vs NoReturn
(#8549)
Improve .keys()
, .values()
, .items()
methods for TypedDict
s (#8532)
Add missing TypedDict
methods and ClassVar
s (#8512)
Use error codes for type ignores (#8280)
Disable reportSelfClsParameterName for pytype as this is out of typeshed's control
Closes: #7497
Check missing definitions for several packages (#8167)
Co-authored-by: hauntsaninja <>
Use _typeshed.IdentityFunction
more consistently (#8063)
mypy_extensions
: fix TypeVar
usage (#7937)
#7928
Import generics from standard modules in all third-party stubs (#7791)
Delete python 2 branches from third-party stubs (#7741)
Since #7703, we no longer have third-party stubs that support Python 2, so code like if sys.version_info >= (3, 0)
can be simplified.
Drop Python 2 support in third-party stubs (#7703)
Upgrade black version (#7089)
Improve trait signature in mypy_extensions.pyi (#7027)
Co-authored-by: Mehdi Drissi mdrissi@snapchat.com
Always use _typeshed.Self
, where applicable (#6880)
-
Always use
_typeshed.Self
, where applicable -
Revert changes to
google-cloud-ndb
(ambiguous) -
Remove empty line added by script
-
Revert changes to
stubs/python-dateutil/dateutil/relativedelta.pyi
-
Manually add a few more that the script missed
-
Improve
filelock
annotation
Source code here: https://github.com/tox-dev/py-filelock/blob/79ec7b2826e33b982fe83b057f359448b9d966ba/src/filelock/_api.py#L207
- Improve
opentracing/scope
annotation
Source code here: https://github.com/opentracing/opentracing-python/blob/3e1d357a348269ef54d67f761302fab93dbfc0f7/opentracing/scope.py#L71
- Improve
redis/client
stub
Source code here: https://github.com/redis/redis-py/blob/15f315a496c3267c8cbcc6d6d9c6005ea4d4a4d5/redis/client.py#L1217
- Improve
redis/lock
annotation
Source code here: https://github.com/redis/redis-py/blob/15f315a496c3267c8cbcc6d6d9c6005ea4d4a4d5/redis/lock.py#L155
- Improve
requests/models
annotation
Source code here: https://github.com/psf/requests/blob/d718e753834b84018014a23d663369ac27d1ab9c/requests/models.py#L653
Use lowercase type
everywhere (#6853)
mypy_extensions: fix NoReturn, remove inaccurate comment (#6595)
Add star to all non-0.1 versions (#6146)