Skip to content

Improve typing of client/_events.py.#803

Merged
junkmd merged 5 commits intoenthought:mainfrom
junkmd:improve_client_events_typing
Feb 13, 2025
Merged

Improve typing of client/_events.py.#803
junkmd merged 5 commits intoenthought:mainfrom
junkmd:improve_client_events_typing

Conversation

@junkmd
Copy link
Copy Markdown
Collaborator

@junkmd junkmd commented Feb 12, 2025

It takes into account cases where a COM interface pointer is actually being passed to _AdviseConnection.

Also, import comtypes.automation is replaced with specific imports in client/_events.py to prevent redundant line breaks caused by the formatter.

Cases where a COM interface pointer is actually being passed to `_AdviseConnection` are taken into account.
…/_events.py`.

To prevent redundant line breaks caused by the formatter.
@junkmd junkmd added the typing related to Python static typing system label Feb 12, 2025
@junkmd junkmd added this to the 1.4.11 milestone Feb 12, 2025
junkmd added a commit to junkmd/pywinauto that referenced this pull request Feb 12, 2025
@junkmd junkmd merged commit 55d2cb3 into enthought:main Feb 13, 2025
50 checks passed
@junkmd junkmd deleted the improve_client_events_typing branch February 13, 2025 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

typing related to Python static typing system

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant