How I spent my third and last time solving Advent Of Code for 2024. This was complicated, huge thanks to:
python --version
# Python 3.13.1pip install -U pip poetry
poetry --version
# Poetry (version 2.0.0)
poetry install --no-rootAfter adding some code samples run code.sh
make codeYou can automate linter action before each commit by calling pre-commit
# setup pre-commit and check integrity
git config --local core.hooksPath .githooksTest your changes with simple run test.sh
# fast unit tests to be sure that no regression was
make test/smoke
# same as test/smoke but with creation coverage report
make test/cover
# ---------- coverage: platform darwin, python 3.13.1-final-0 ----------
# Name Stmts Miss Cover
# --------------------------------------------------------
# ...
# --------------------------------------------------------
# TOTAL 1802 0 100%