-
Notifications
You must be signed in to change notification settings - Fork 446
Open
Description
When importing markdown2, I’m seeing the following linter warnings:
- mypy: Skipping analyzing "markdown2": module is installed, but missing library stubs or py.typed marker.
- Pyright: Stub file not found for "markdown2"
I noticed that typing support was introduced in PR #581 — thanks for that! I was wondering if there might be one additional step needed to make this fully recognized by type checkers.
From what I understand, adding a py.typed file to the package can help tools like mypy and Pyright detect that the package includes type information (as mentioned in #456 and #562). For reference, this might be helpful:
https://blog.whtsky.me/tech/2021/dont-forget-py.typed-for-your-typed-python-package/
If this sounds reasonable and you would like to have support, I’d be happy to help.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels