my answers in Python
This project builds with Poetry.
Setup:
pipx install poetry
poetry install
Run the test suite:
poetry run pytest
Run the benchmarks:
poetry run pytest --benchmark-enable
Print solutions for the inputs provided in local data files:
poetry run aoc2024
Lint and format code with Ruff:
poetry run ruff check --fix
poetry run ruff format