Skip to content

davidjoliver86/advent-of-code-2022

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Advent of Code 2022

It's that time of year again. Featuring:

  • Fedora 37 VM for development/testing. In its repos:
    • Python 3.11
    • Golang 1.19.3

Once again, code quality, readibility, and applicibility of best practices is the primary emphasis of the Python branch. I will similiarly try so with Golang as well, but cannot confidently promise as much in that area. Also, I am not necessarily going for "leaderboard cred", particularly since I had to miss the first few days anyway. Solving the puzzles and sticking to the standards is enough "cred" for me.

Python conventions

  • Code formatted with black (except with a 120-character line limit, deviating from the default 88).
  • 10/10 Pylint with as few exceptions as possible. Exceptions must have justifications.
  • Only Python code goes in the aoc2022 folder. All puzzle input is saved in fixtures.
  • Everything should be runnable as a module from within the python folder - e.g. python -m aoc2022.day1
  • Unit tests that cover both the proposed sample cases AND THE ACTUAL ANSWERS.
  • Enforcing 100% test coverage.
  • Remember that your input is not necessarily going to match mine. That being said, tests will contain spoilers. Tread carefully.

Releases

No releases published

Packages

No packages published

Languages