diff --git a/05/puzzle_test.py b/05/puzzle_test.py index 835dc5f..785d4d6 100644 --- a/05/puzzle_test.py +++ b/05/puzzle_test.py @@ -1,5 +1,10 @@ -from puzzle import (RangeConversion, resolve_destination, resolve_source, - solve_pt_1, solve_pt_2) +from puzzle import ( + RangeConversion, + resolve_destination, + resolve_source, + solve_pt_1, + solve_pt_2, +) mock_seeds = [79, 14, 55, 13] mock_destinations = [81, 14, 57, 13] diff --git a/advent_of_code/gears.py b/advent_of_code/gears.py index 58f8550..917cbb8 100644 --- a/advent_of_code/gears.py +++ b/advent_of_code/gears.py @@ -1,11 +1,11 @@ "Day 3: Gear Ratios" from __future__ import annotations -from collections import UserDict +import math +from collections import UserDict from dataclasses import dataclass from functools import reduce -import math from typing import NamedTuple diff --git a/tests/gears_test.py b/tests/gears_test.py index c32cca2..09a73c0 100644 --- a/tests/gears_test.py +++ b/tests/gears_test.py @@ -1,7 +1,7 @@ from advent_of_code.gears import ( + Number, Part, Schematic, - Number, Symbol, solve_part_1, solve_part_2,