Skip to content

fix: mark mypyc package with py.typed#18253

Merged
JelleZijlstra merged 1 commit intopython:masterfrom
bzoracler:mypyc-py-typed
Dec 6, 2024
Merged

fix: mark mypyc package with py.typed#18253
JelleZijlstra merged 1 commit intopython:masterfrom
bzoracler:mypyc-py-typed

Conversation

@bzoracler
Copy link
Contributor

mypyc is fully typed, so it'd be nice to get rid of mypy errors to do with missing py.typed markers when writing setup.pys or similar.

import mypyc  # E: Skipping analyzing "mypyc": module is installed, but missing library stubs or py. typed marker  [import-untyped]

@github-actions
Copy link
Contributor

github-actions bot commented Dec 6, 2024

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@JelleZijlstra JelleZijlstra merged commit 802266b into python:master Dec 6, 2024
@bzoracler bzoracler deleted the mypyc-py-typed branch December 6, 2024 04:13
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.

3 participants