Puzzle solutions for Advent of Code 2024. Written in Python.
Most solutions are for Part One only because aint nobody got time for Part Two!
Install dependencies with poetry
:
poetry install
Run a day's solution:
# substitute 00 for actual day number
python -m aoc2024.puzzles.day00
Check types with Pyright:
pyright
Run tests:
pytest
Run tests in watch mode:
ptw
Run tests in watch mode for a single day:
ptw -- aoc2024/puzzles/day00_test.py