Skip to content

photonlibpy usage is not type checkable #1210

@auscompgeek

Description

@auscompgeek

Describe the bug

It isn't possible to type check code that imports photonlibpy.

To Reproduce

echo "from photonlibpy.photonCamera import PhotonCamera" > test.py
python -m mypy test.py

Screenshots / Videos

test.py:1: error: Skipping analyzing "photonlibpy.photonCamera": module is installed, but missing library stubs or py.typed marker  [import-untyped]
test.py:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
Found 1 error in 1 file (checked 1 source file)

Platform:

  • PhotonVision Version: 2024.2.0

Additional context

This is probably blocked by #1145.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions