File tree 2 files changed +6
-8
lines changed
2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 1
- # TODO: go through this allowlist, figure out which of them are false positives
2
- pynput.keyboard.Controller._Key
3
- pynput.keyboard.Controller._KeyCode
1
+ # These __init__ methods have *args, **kwargs arguments on some platforms, but not others
4
2
pynput.keyboard.Controller.__init__
3
+ pynput.mouse.Controller.__init__
4
+ # stubtest issues with non-`type` metaclasses, see https://github.com/python/mypy/issues/13316
5
+ pynput.keyboard.Controller._Key
5
6
pynput.keyboard._base.Controller._Key
6
- pynput.keyboard._base.Controller._KeyCode
7
7
pynput.keyboard._dummy.Controller._Key
8
- pynput.keyboard._dummy.Controller._KeyCode
9
- pynput.mouse.Controller.__init__
Original file line number Diff line number Diff line change @@ -86,8 +86,8 @@ class Key(enum.Enum):
86
86
scroll_lock : int
87
87
88
88
class Controller :
89
- _KeyCode : ClassVar [KeyCode ] # undocumented
90
- _Key : ClassVar [Key ] # undocumented
89
+ _KeyCode : ClassVar [type [ KeyCode ] ] # undocumented
90
+ _Key : ClassVar [type [ Key ] ] # undocumented
91
91
92
92
class InvalidKeyException (Exception ): ...
93
93
class InvalidCharacterException (Exception ): ...
You can’t perform that action at this time.
0 commit comments