Skip to content

blairnangle/advent-of-code-2022

Repository files navigation

Advent of Code 2022

Taking Python 3.11 for a spin.

Usage

  • Create a virtual environment:
python -m venv .venv
  • Activate the virtual environment:
source .venv/bin/activate
  • Install requirements:
pip install -r requirements.txt
  • Execute a file—e.g.:
python day1.py
  • Time the execution—e.g.:
time python day1.py

Testing

Simplistic example cases will be added, as well as any specific scenarios on which I want feedback.

  • Assuming pytest is installed:
pytest

Test and format

./pre-commit.sh

License

Distributed under an MIT License.