Skip to content

[Backport 8.x] Add type hints to wrappers.py #1846

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

github-actions[bot]
Copy link

Backport 2c79b48 from #1835.

* refactor: add type hints to wrappers.py

* use _SupportsComparison type from typeshed

* escape imported types in quotes

* simplify casts

* fixed linter errors

---------

Co-authored-by: Miguel Grinberg <[email protected]>
(cherry picked from commit 2c79b48)
@miguelgrinberg miguelgrinberg merged commit aafccf5 into 8.x Jun 17, 2024
17 checks passed
@miguelgrinberg miguelgrinberg deleted the backport-1835-to-8.x branch June 17, 2024 15:24
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