Install pdm
# optionally, create a virtual environment using python 3.12
# if you skip this, pdm will use the system default python version
pdm venv create $(which python3.12)
# install the project
pdm install
# optionally, install git hooks via pre-commit
pdm run pre-commit install
Make sure that aocd knows where to find your session token.
My personal preference is to put it in ~/.config/aocd/token
.
pdm run pytest tests
Supports aoc test runner.