File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed
Expand file tree Collapse file tree 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
42pynput.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
56pynput.keyboard._base.Controller._Key
6- pynput.keyboard._base.Controller._KeyCode
77pynput.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):
8686 scroll_lock : int
8787
8888class Controller :
89- _KeyCode : ClassVar [KeyCode ] # undocumented
90- _Key : ClassVar [Key ] # undocumented
89+ _KeyCode : ClassVar [type [ KeyCode ] ] # undocumented
90+ _Key : ClassVar [type [ Key ] ] # undocumented
9191
9292 class InvalidKeyException (Exception ): ...
9393 class InvalidCharacterException (Exception ): ...
You can’t perform that action at this time.
0 commit comments