-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pynput] Fix annotations of Controller.Key(Code) (#8722)
Document stubtest entries
- Loading branch information
1 parent
266aa3b
commit 34383fc
Showing
2 changed files
with
6 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
# TODO: go through this allowlist, figure out which of them are false positives | ||
pynput.keyboard.Controller._Key | ||
pynput.keyboard.Controller._KeyCode | ||
# These __init__ methods have *args, **kwargs arguments on some platforms, but not others | ||
pynput.keyboard.Controller.__init__ | ||
pynput.mouse.Controller.__init__ | ||
# stubtest issues with non-`type` metaclasses, see https://github.com/python/mypy/issues/13316 | ||
pynput.keyboard.Controller._Key | ||
pynput.keyboard._base.Controller._Key | ||
pynput.keyboard._base.Controller._KeyCode | ||
pynput.keyboard._dummy.Controller._Key | ||
pynput.keyboard._dummy.Controller._KeyCode | ||
pynput.mouse.Controller.__init__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters