Puzzle solving @ Advent of Code
Installing dependencies (needed for pre-commit checks and running tests)
pip install -r requirements-dev.txt
Test files exist alongside their corresponding puzzle solution, with the naming convention of test_{day}.py
(ie: test_01.py
, etc.)
Run full test suite with:
pytest
Run a particular puzzle's tests with:
pytest calendar/{day}
# Eg: `pytest calendar/01`