-
-
Notifications
You must be signed in to change notification settings - Fork 348
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add typing for
_wait_for_object.py
(#2755)
* Add typing for `_wait_for_object.py` * Fix CData type * Future annotations * Use explicit type alias * Maybe saying it's `cffi.api.FFI` will fix it? * Fix this type alias * Handle None in raise_winerror() * Fix copy-paste error Interestingly not caught by tests, maybe we need specific tests for this. * Update `pyproject.toml` * Add a test for raise_winerror() * Change names * Fix mypy CI failure on linux and macos * Remove `_wait_for_object` and `_core._windows_cffi` fully typed ignores * Import sys for new mypy CI fix * Entirely skip type checking test_windows on other platforms --------- Co-authored-by: Spencer Brown <spencerb21@live.com> Co-authored-by: John Litborn <11260241+jakkdl@users.noreply.github.com>
- Loading branch information
1 parent
9028678
commit 3bdab93
Showing
4 changed files
with
79 additions
and
15 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
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
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
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