Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Open
@jim-tooker

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /