Skip to content
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

Export pluggy's typing #434

Merged
merged 3 commits into from
Aug 26, 2023
Merged

Export pluggy's typing #434

merged 3 commits into from
Aug 26, 2023

Conversation

bluetech
Copy link
Member

This exports our typing, fixing #428.

I ran pytest mypy against this (see pytest-dev/pytest#11353), which required a couple of fixes in pluggy - see first 2 commits. Other than that, should be good.

Otherwise not visible to mypy.
This allows passing e.g. a `f.write` method which returns an `int`.
@bluetech bluetech merged commit c53af98 into pytest-dev:main Aug 26, 2023
15 checks passed
@bluetech bluetech deleted the typing4 branch August 26, 2023 15:26
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