Skip to content

Add .pyi stub files for plugin proxy objects #32

@elijahr

Description

@elijahr

Plugins like `bigfoot.http` are dynamically created proxy objects. IDEs and type checkers can't autocomplete methods like `.assert_request()` or `.mock_response()`.

Write `.pyi` stub files that declare the public API for each plugin proxy. This improves developer experience and enables strict mypy checking in user code. Start with HttpPlugin and SubprocessPlugin as prototypes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions