Skip to content

Conversation

@yedayak
Copy link

@yedayak yedayak commented Oct 25, 2025

The docs for "Missing library stubs or py.typed marker" give you an option to ignore the error, but its not complete. Copying it verbatim into your code results in this error:

error: "type: ignore" comment without error code (consider "type: ignore[import-not-found]" instead)  [ignore-without-code]

The error is helpful, but just having it work right away will be better :)

@wyattscarpenter
Copy link
Contributor

wyattscarpenter commented Oct 25, 2025

This only happens because you have ignore-without-code enabled; presumably from running mypy in strict mode.

It seems fine and better to specify the exact ignore code here, though.

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.

2 participants