TODO
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Python >=3.10
Setup your virtual environment and install dependencies:
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
Install a local development version using:
pip install -e '.[dev]'
You can configure Git to ignore formatting commits when using git blame
by running
git config blame.ignoreRevsFile .git-blame-ignore-revs
TODO
First, build the PyO3 Hugr validation library using
maturin develop
Run tests using
pytest -v
Integration test cases can be exported to a directory using
pytest --export-test-cases=guppy-exports
which will create a directory ./guppy-exports
populated with hugr modules serialised in msgpack.
python -m build -n