PECOS-packages / PECOS

A Python framework, library, and set of tools for exploring, developing, and evaluating quantum error-correction protocols.
Other
29 stars 6 forks source link

build: add typed marker for pecos #37

Closed qartik closed 10 months ago

qartik commented 10 months ago

This helps avoid mypy errors such as:

pytket/phir/cli.py:17: error: Cannot find implementation or library stub for
module named "pecos.engines.hybrid_engine"  [import-not-found]
        from pecos.engines.hybrid_engine import HybridEngine
    ^
pytket/phir/cli.py:17: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
pytket/phir/cli.py:18: error: Cannot find implementation or library stub for
module named "pecos.foreign_objects.wasmtime"  [import-not-found]
        from pecos.foreign_objects.wasmtime import WasmtimeObj
    ^
qartik commented 10 months ago

Thanks, now just need to wait for the next (pre-)release of pecos.