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

Some type fixes #1138

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Some type fixes #1138

wants to merge 7 commits into from

Conversation

flying-sheep
Copy link
Contributor

@flying-sheep flying-sheep commented Dec 13, 2023

ProjectMetadata is generic over the PluginManager, so things holding it should be too.

While adding a parameter to BuildHookInterface is a breaking change (Python should support optional named type parameters like TypeScript to avoid that), BuilderInterface is an especially low hanging fruit, as it is already generic over PluginManagerBound, so my changes to it just surface things that are already true.

One kinda unrelated change is that get_version_api’s documentation seems wrong. build_data seems to be **kwargs, not a single parameter.

There might be other classes to fix, but I only encountered those two so far.

@flying-sheep
Copy link
Contributor Author

@ofek what do you think?

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.

None yet

1 participant