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

Typing information not exposed #9

Open
nhairs opened this issue Jan 2, 2024 · 0 comments
Open

Typing information not exposed #9

nhairs opened this issue Jan 2, 2024 · 0 comments

Comments

@nhairs
Copy link

nhairs commented Jan 2, 2024

The typing information in this library is not available for projects that import it. This is because mailsuite does not comply with PEP 561 which requires a py.typed file in the root of the package.

For projects utilising MyPy this will result in the following error:

src/example.py:9: error: Skipping analyzing "mailsuite": module is installed, but missing library stubs or py.typed marker  [import]

Further reading:

Alt titles for searchability:

  • py.typed missing
  • mailsuite not PEP 561 compliant
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

No branches or pull requests

1 participant