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

MYPY: "validators": module is installed, but missing library stubs or py.typed marker #326

Closed
tofetpuzo opened this issue Feb 20, 2024 · 2 comments · Fixed by #335
Closed
Labels
bug Issue: Works not as designed development Issue/PR: Modification in workflows, packaging, etc.

Comments

@tofetpuzo
Copy link

tofetpuzo commented Feb 20, 2024

Hey I am using mypy which checks the src, however, I am getting this error.
"validators": module is installed, but missing library stubs or py.typed marker
[import-untyped]
import validators
^

Ref : missing py.typed

Is it a feature you hope to implement?

@yozachar
Copy link
Collaborator

py.typed is already present https://github.com/python-validators/validators/blob/master/src/validators/py.typed, unfortunately it was not included in the last release. I'll fix it in the next release.

@yozachar yozachar self-assigned this Feb 21, 2024
@yozachar yozachar added bug Issue: Works not as designed development Issue/PR: Modification in workflows, packaging, etc. labels Feb 21, 2024
@yozachar
Copy link
Collaborator

Completed in #333.

@yozachar yozachar linked a pull request Mar 22, 2024 that will close this issue
@yozachar yozachar removed their assignment May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue: Works not as designed development Issue/PR: Modification in workflows, packaging, etc.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants