more type annotations

This commit is contained in:
Stefan Harmuth 2021-12-02 06:22:33 +01:00
parent c7b8c6ead6
commit d0c5e319fb

2
aoc.py
View File

@ -112,7 +112,7 @@ class AOCDay:
return return_array return return_array
def printSolution(day, part, solution, test=None, test_case=0, exec_time=None): def printSolution(day: int, part: int, solution: Any, test: bool = None, test_case: int = 0, exec_time: float = None):
if exec_time is None: if exec_time is None:
time_output = "" time_output = ""
else: else: