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

Add py.typed marker to the package #50

Merged
merged 1 commit into from
Sep 29, 2023

Conversation

dcermak
Copy link
Contributor

@dcermak dcermak commented Sep 26, 2023

This ensures that type checkers like mypy or pyright use the type hints from the source code.

This fixes #49

setup.py Show resolved Hide resolved
@AdamWill
Copy link
Contributor

Thanks!

Can you also add this to pyproject.toml per the answer to this SO question? That's necessary for more modern building that does not run setup.py.

This ensures that type checkers like mypy or pyright use the type hints from the
source code.

This fixes os-autoinst#49

Signed-off-by: Dan Čermák <dcermak@suse.com>
@dcermak
Copy link
Contributor Author

dcermak commented Sep 29, 2023

Can you also add this to pyproject.toml per the answer to this SO question? That's necessary for more modern building that does not run setup.py.

Done

@AdamWill AdamWill merged commit cabae14 into os-autoinst:main Sep 29, 2023
9 checks passed
@AdamWill
Copy link
Contributor

AdamWill commented Oct 3, 2023

I cut a 4.2.3 release to get this out to pypi.

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.

Missing stubs
4 participants