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

Is there a desire for a MyPy VPython stub for static type checking compliance? #277

Open
jim-tooker opened this issue Aug 7, 2024 · 0 comments

Comments

@jim-tooker
Copy link

I use MyPy to type check my projects and noticed VPython doesn't having Typing or a library stub for static type checking so MyPy complains it can't find a library stub with the infamous module is installed, but missing library stubs or py.typed marker message.

I wrote a vpython-stubs for my needs. It's complete for the vector module, but I only completed the other vpython items for the things I was using.

The question I have: If there's a desire for a more complete version of a vpython.pyi stub, I could be convinced to complete it. The stubs probably belong here anyway, not in my GitHub account. If you want to have a look at my "incomplete" version, you can search for "vpython stubs" in GitHub, and you'll find it.

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