My solutions for Advent of Code 2019 in Python
This project uses direnv
and nix
. Both must be installed.
git clone https://github.com/michaelerne/adventofcode-2019
cd adventofcode-2019
direnv allow
This project uses advent-of-code-data
to automatically fetch the input and submit the answers. For this to work set AOC_SESSION
in your environment.
export AOC_SESSION=cafef00db01dfaceba5eba11deadbeef
Then, execute the individual days:
python day_01.py
Or run them via the provided Makefile
:
make run
To lint this project, run:
make lint