mirror of
https://github.com/thib8956/advent-of-code.git
synced 2026-11-27 00:46:34 +00:00
fix lint
This commit is contained in:
1 parent
0232b9326d
commit
5c3fb89870
50 files changed
+97
-117
No files matched your search
@@ -1,6 +1,5 @@
|
||||
from itertools import cycle
|
||||
from dataclasses import dataclass
|
||||
from pprint import pprint
|
||||
from itertools import cycle
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
@@ -75,6 +74,6 @@ if __name__ == "__main__":
|
||||
import sys
|
||||
infile = sys.argv[1] if 1 < len(sys.argv) else "example.txt"
|
||||
with open(infile) as f:
|
||||
grid = [list(l.rstrip()) for l in f.readlines()]
|
||||
grid = [list(l.rstrip()) for l in f]
|
||||
main(grid)
|
||||
|
||||
Reference in new issue
Block a user