Start by cloning the repository:
git clone https://github.com/carbonfact/lea
There are submodules in this repository, so you'll need to fetch/update them:
git submodule init
git submodule update
Next, you'll need a Python environment:
pyenv install -v 3.11
You'll also need Poetry:
curl -sSL https://install.python-poetry.org | python3 -
poetry install
poetry shell
You can run tests once the environment is set up:
pytest
Install the code quality routine so that it runs each time you try to push your commits.
pre-commit install --hook-type pre-push
You can also run the code quality routine ad-hoc.
pre-commit run --all-files