Skip to content

Add mypy type hints #48

@alex-torok

Description

@alex-torok

It would be great if pybuildkite shipped with type stubs included so that consuming projects could use mypy to ensure that they are using valid fields/functions on pybuildkite objects

I was inspired by PyGithub's most recent release shipping with pyi stub files included with the package. They are still in the process of updating their CI process to keep the pyi files up-to-date with the source code.

I'd be willing to help out with getting the type information in pybuildkite, but was wondering what kind of approach would you want to take? .pyi files, or in-line type hints -- any desire to keep python 2 compatibility?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions