Fix pre-commit

This commit is contained in:
Gabriel Augendre 2022-12-08 17:44:42 +01:00
parent aab661dd1d
commit ffdc98b7b9
3 changed files with 4 additions and 4 deletions

View file

@ -24,9 +24,9 @@ def parse_data(data: list[str]) -> DataType:
for line in data:
first, second = line.split(",")
first_1, first_2 = first.split("-")
first = set(range(int(first_1), int(first_2)+1))
first = set(range(int(first_1), int(first_2) + 1))
second_1, second_2 = second.split("-")
second = set(range(int(second_1), int(second_2)+1))
second = set(range(int(second_1), int(second_2) + 1))
lines.append((first, second))
return lines

View file

@ -997,4 +997,4 @@
16-33,16-33
26-26,26-99
42-83,78-79
5-17,4-67
5-17,4-67

View file

@ -3,4 +3,4 @@
5-7,7-9
2-8,3-7
6-6,4-6
2-6,4-8
2-6,4-8