Skip to content

Conversation

@bluetech
Copy link
Member

Since version 1.3 pluggy added typing, which requires some fixes to please mypy.

Pending release of pluggy 1.3

I intend to backport this to 7.4.x but without bumping the pluggy requirement so will be a little different.

return None
# Collect unmarked hooks as long as they have the `pytest_' prefix.
return _get_legacy_hook_marks(
return _get_legacy_hook_marks( # type: ignore[return-value]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be improved, but the legacy hook stuff is going to be removed in pytest 8.1 so I didn't bother.

Since version 1.3 pluggy added typing, which requires some fixes to
please mypy.
@bluetech bluetech marked this pull request as ready for review August 26, 2023 19:16
@bluetech
Copy link
Member Author

Merging to fix the CI

@bluetech bluetech merged commit 00fedcc into pytest-dev:main Aug 26, 2023
@bluetech bluetech deleted the pluggy-typing branch August 26, 2023 19:59
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.

1 participant