Skip to content

Third-party stubs: audit Callable[<parameters>, None] annotations#8175

Merged
srittau merged 3 commits intopython:masterfrom
AlexWaygood:callbacks
Jun 26, 2022
Merged

Third-party stubs: audit Callable[<parameters>, None] annotations#8175
srittau merged 3 commits intopython:masterfrom
AlexWaygood:callbacks

Conversation

@AlexWaygood
Copy link
Copy Markdown
Member

@AlexWaygood AlexWaygood commented Jun 26, 2022

All of these callbacks have return values that are ignored at runtime.

Relevant to PyCQA/flake8-pyi/issues/237 (I was already looking at this before the issue was filed ;)

@github-actions

This comment has been minimized.

Comment thread stubs/pynput/pynput/_util.pyi Outdated
Comment thread stubs/waitress/waitress/utilities.pyi Outdated
@github-actions

This comment has been minimized.

@AlexWaygood AlexWaygood requested a review from srittau June 26, 2022 11:56
@srittau srittau merged commit 74bd0d9 into python:master Jun 26, 2022
@AlexWaygood AlexWaygood deleted the callbacks branch June 26, 2022 11:56
@github-actions
Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants