-
Notifications
You must be signed in to change notification settings - Fork 96
Module "semver" does not explicitly export attribute "Version" #410
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
Comments
Thank you @Soneji for your contribution. Much appreciated! 👍 Seems this is caused by a missing It's strange that mypy doesn't detect it. When I run |
Cool! Happy to submit a PR, do you think you could publish a fixed version of the package after this? I notice you added some release tags to this issue, are you waiting on a particular set of features before publishing a new release? |
Maybe you need strict mode for mypy to detect it? |
Please do! Happy to include it.
That's just so I can find them. Nothing special to it. 😉
That was my suspicion as well. I've tried the |
Hi
I am running
mypy
the python static type checker in my project with the--strict
flag and it is causing an error.I have replicated the error in this repl environment online
https://replit.com/@soneji/semver-mypy
You can click "show code" to see the code but I have printed it also
I have followed the usage instructions in the documentation so I am unsure why this error is being caused
The text was updated successfully, but these errors were encountered: