From 1360952c729a88bb61dff2d20eacd593c5b9e283 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sat, 12 Dec 2020 18:53:23 +0100 Subject: [PATCH] Cleanup imports --- 2020/day03_toboggan.py | 3 +-- 2020/day09_xmas.py | 1 - 2020/day10_adapter_array.py | 1 - 2020/day11_seating.py | 7 +------ 4 files changed, 2 insertions(+), 10 deletions(-) diff --git a/2020/day03_toboggan.py b/2020/day03_toboggan.py index 2a6b204..c860693 100644 --- a/2020/day03_toboggan.py +++ b/2020/day03_toboggan.py @@ -1,6 +1,5 @@ -from collections import Counter from math import prod -from typing import List, Tuple +from typing import List TREE = "#" diff --git a/2020/day09_xmas.py b/2020/day09_xmas.py index 98b7fb9..c81a130 100644 --- a/2020/day09_xmas.py +++ b/2020/day09_xmas.py @@ -1,4 +1,3 @@ -import copy import itertools from typing import List diff --git a/2020/day10_adapter_array.py b/2020/day10_adapter_array.py index a0ed0e5..04d08a0 100644 --- a/2020/day10_adapter_array.py +++ b/2020/day10_adapter_array.py @@ -1,4 +1,3 @@ -import copy import functools import itertools from typing import List, Tuple diff --git a/2020/day11_seating.py b/2020/day11_seating.py index 58f7247..9ae74e5 100644 --- a/2020/day11_seating.py +++ b/2020/day11_seating.py @@ -1,11 +1,6 @@ -import copy import functools -import itertools from collections import Counter -from pprint import pprint -from typing import List, Tuple, Iterable, Dict, Optional - -import networkx as nx +from typing import List, Tuple, Dict, Optional def main(filename: str, expected_part_1: int = None, expected_part_2: int = None):