Website: https://adventofcode.com/2023
API documentation and more information:
https://alex-ong.github.io/adventofcode2023/index.html
- Install python 3.11:
winget install Python.Python.3.11 -i
- Install dependencies:
pip install -r requirements.txt
- Install Graphviz for all users:
winget install Graphviz.Graphviz -i
This installs to your default python, so hopefully it all matches up :) I couldn't be bothered setting up pipenv for this one.
This repository is module based.
To run day1: python -m day01.day1
Install pre-commit pre-commit install
Before each commit, it'll check all the things.
You can also run pre-commit run --all-files
to run it on all files.
After pushing to origin
, github will run the lint online just to be sure.