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

Mark incomplete stubs as partial #93

Closed
Avasam opened this issue May 2, 2023 · 1 comment · Fixed by #94
Closed

Mark incomplete stubs as partial #93

Avasam opened this issue May 2, 2023 · 1 comment · Fixed by #94

Comments

@Avasam
Copy link
Contributor

Avasam commented May 2, 2023

Incomplete stubs (ignore_missing_stub = true) should probably have partial\n in a py.typed marker. Ref: https://peps.python.org/pep-0561/#partial-stub-packages

I may have a use-case for arbitrarily tagging a stub as partial later with pywin32 (as in in many months from now). But for now autodetection on ignore_missing_stub = true would be enough for incomplete stubs.

@hamdanal
Copy link
Contributor

I think this is not working as expected.
The latest version of types-psycopg2 on PyPI is currently marked as partial but neither the wheel nor the sdist contain the py.typed marker file!

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 a pull request may close this issue.

2 participants