Bump mypy (and a few other test dependencies) (#11196)

This commit is contained in:
Alex Waygood
2023-12-21 22:57:58 +00:00
committed by GitHub
parent c1137ee364
commit 16933b838e
12 changed files with 17 additions and 18 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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):