mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-10 13:32:26 +08:00
Bump mypy (and a few other test dependencies) (#11196)
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
# type_check_only
|
||||
pyasn1.type.base.NoValue.plug
|
||||
|
||||
# typeshed typing differences with runtime collections.OrderedDict and builtins.dict
|
||||
pyasn1.codec.native.encoder.SequenceEncoder.protoDict
|
||||
pyasn1.codec.native.encoder.SetEncoder.protoDict
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
# These __init__ methods have *args, **kwargs arguments on some platforms, but not others
|
||||
pynput.keyboard.Controller.__init__
|
||||
|
||||
# To reduce duplication, our stubs simplify things:
|
||||
# the runtime has several Controller classes,
|
||||
# some of which have __del__ methods on linux, and some of which don't.
|
||||
pynput.mouse.Controller.__del__
|
||||
pynput.keyboard.Controller.__del__
|
||||
|
||||
# Platform specific implementation detail:
|
||||
pynput.keyboard.Controller.keyboard_mapping
|
||||
|
||||
@@ -17,9 +17,6 @@ Xlib.protocol.rq.*.structcode
|
||||
# Should only ever be str once instantiated
|
||||
Xlib.protocol.rq.*.name
|
||||
|
||||
# Structs generate their attributes (@type_check_only)
|
||||
Xlib.protocol.rq.Struct.__getattr__
|
||||
|
||||
# Iteration variable that bleeds into the global scope
|
||||
Xlib.protocol.rq.c
|
||||
Xlib.protocol.rq.size
|
||||
|
||||
@@ -365,7 +365,6 @@ class GetAttrData:
|
||||
# GetAttrData classes get their attributes dynamically
|
||||
# TODO: Complete all classes inheriting from GetAttrData
|
||||
def __getattr__(self, attr: str) -> Any: ...
|
||||
@type_check_only
|
||||
def __setattr__(self, __name: str, __value: Any) -> None: ...
|
||||
|
||||
class DictWrapper(GetAttrData):
|
||||
|
||||
Reference in New Issue
Block a user