rrmeister / pyQuEST

Python interface for the Quantum Exact Simulation Toolkit (QuEST)
MIT License
16 stars 4 forks source link

Missing library stubs or py.typed marker #6

Open TerraVenil opened 3 weeks ago

TerraVenil commented 3 weeks ago

Hi, @rrmeister. 👋

When mypy type checker have been added into the project then got the following messages

error: Skipping analyzing "pyquest.unitaries": module is installed, but missing library stubs or py.typed marker  [import-untyped]
note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
error: Skipping analyzing "pyquest": module is installed, but missing library stubs or py.typed marker  [import-untyped]
error: Skipping analyzing "pyquest.gates": module is installed, but missing library stubs or py.typed marker  [import-untyped]
error: Skipping analyzing "pyquest": module is installed, but missing library stubs or py.typed marker  [import-untyped]
error: Skipping analyzing "pyquest.initialisations": module is installed, but missing library stubs or py.typed marker  [import-untyped]

Basically we applied fix and ignore these messages but I guess it's a good practice to have help with type annotations/stubs or adding py.typed. What do you think?