Skip to content

Add comprensive type hints #204

Description

@nicsteenkamp

Hi!

I'd like to contribute by adding type annotations throughout the project where appropriate, particularly for the public API (methods, functions, and classes that game developers are expected to use).

The goal is to improve editor support for tools such as Pylance, Pyright, and mypy while leaving the runtime behavior unchanged. I only intend to add or refine type annotations where appropriate and not make functional changes.

Would this be a contribution you'd be interested in accepting? If so, I'd be happy to open a pull request once the work is complete.

Also, do you have a preference how type annotation should be implemented? I considered inline annotations or the use of .pyi stub files. I would be happy to follow either approach.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions