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

Add mypy checks & markers #24

Open
2 tasks
levic opened this issue Feb 14, 2023 · 0 comments
Open
2 tasks

Add mypy checks & markers #24

levic opened this issue Feb 14, 2023 · 0 comments

Comments

@levic
Copy link

levic commented Feb 14, 2023

Consuming this module in a project with mypy gives the following error:

error: Skipping analyzing "allianceutils.util": module is installed, but missing library stubs or py.typed marker [import]

Type information is in fact present but mypy won't use it unless the package has the appropriate declarations

  • add local mypy checks
  • declare that the module includes inline type info
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