Formatting
This commit is contained in:
parent
548a009d30
commit
5229f3fb54
@ -1,5 +1,4 @@
|
|||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from dataclasses import dataclass
|
|
||||||
from typing import TypedDict
|
from typing import TypedDict
|
||||||
|
|
||||||
|
|
||||||
@ -25,6 +24,7 @@ class Game:
|
|||||||
def possible(self, bag: Grab) -> bool:
|
def possible(self, bag: Grab) -> bool:
|
||||||
return all(grab_in_bag(bag, grab) for grab in self.grabs)
|
return all(grab_in_bag(bag, grab) for grab in self.grabs)
|
||||||
|
|
||||||
|
|
||||||
def parse_line(line: str) -> Game:
|
def parse_line(line: str) -> Game:
|
||||||
line = line.strip()
|
line = line.strip()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user