Skip to content

Integrate type annotations inline into PyJapc

A substantial change to remove the _japc.pyi and replace it with inline type annotations (plus a separate typing pyi file for common definitions).

There were one or two cases where the type annotations weren't fully correct in _japc.pyi. I have fixed the ones that triggered errors with mypy. I do not intend to correct the inherited (and incorrect) callback annotations in this MR.

Merge request reports