mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-10 05:22:23 +08:00
Bump mypy (and a few other test dependencies) (#11196)
This commit is contained in:
@@ -24,6 +24,7 @@ types.GenericAlias.__mro_entries__
|
||||
types.GenericAlias.__call__ # Would be complicated to fix properly, Any could silence problems. #6392
|
||||
typing._SpecialForm.__mro_entries__
|
||||
weakref.ProxyType.__reversed__ # Doesn't really exist
|
||||
builtins.ellipsis # type is not exposed anywhere
|
||||
|
||||
# Modules that exist at runtime, but shouldn't be added to typeshed
|
||||
ctypes.test
|
||||
|
||||
@@ -16,6 +16,7 @@ importlib._abc.Loader.exec_module # See Lib/importlib/_abc.py. Might be defined
|
||||
importlib.abc.Finder.find_module
|
||||
tkinter._VersionInfoType.__doc__
|
||||
typing.NewType.__mro_entries__
|
||||
builtins.ellipsis # type is not exposed anywhere
|
||||
|
||||
# Modules that exist at runtime, but shouldn't be added to typeshed
|
||||
ctypes.test
|
||||
|
||||
@@ -14,6 +14,7 @@ enum.Enum.__init__
|
||||
importlib._abc.Loader.exec_module # See Lib/importlib/_abc.py. Might be defined for backwards compatibility
|
||||
tkinter._VersionInfoType.__doc__
|
||||
typing.NewType.__mro_entries__
|
||||
builtins.ellipsis # type is not exposed anywhere
|
||||
|
||||
# ==========
|
||||
# Related to positional-only arguments
|
||||
|
||||
@@ -24,8 +24,6 @@ asyncio.base_events.BaseEventLoop.subprocess_exec # BaseEventLoop adds several p
|
||||
asyncio.Future.__init__ # Usually initialized from c object
|
||||
asyncio.futures.Future.__init__ # Usually initialized from c object
|
||||
builtins.dict.get
|
||||
builtins.ellipsis # type is not exposed anywhere
|
||||
builtins.function
|
||||
collections.ChainMap.fromkeys # Runtime has *args which can really only be one argument
|
||||
collections.UserList.sort # Runtime has *args but will error if any are supplied
|
||||
configparser.SectionProxy.__getattr__ # SectionProxy can have arbitrary attributes when custom converters are used
|
||||
@@ -479,8 +477,7 @@ typing_extensions\.TypeVar.*
|
||||
typing_extensions\.ParamSpec.*
|
||||
typing(_extensions)?\.Generic
|
||||
typing\.Protocol
|
||||
(typing\._TypedDict\..+)?
|
||||
typing_extensions\._TypedDict\..*
|
||||
typing(_extensions)?\._TypedDict
|
||||
|
||||
# Special primitives
|
||||
typing_extensions\.Annotated
|
||||
@@ -513,7 +510,6 @@ typing(_extensions)?\.Coroutine
|
||||
typing(_extensions)?\.Collection
|
||||
typing(_extensions)?\.Container
|
||||
typing\.ByteString
|
||||
typing(_extensions)?\.AwaitableGenerator
|
||||
typing(_extensions)?\.Awaitable
|
||||
typing(_extensions)?\.AbstractSet
|
||||
|
||||
|
||||
Reference in New Issue
Block a user