Reformat code with upgraded version of black (#3446)

This commit is contained in:
zhexu14
2024-10-05 07:19:39 +10:00
committed by GitHub
parent b008305275
commit 0e9a8ac1a1
58 changed files with 121 additions and 161 deletions

View File

@@ -18,8 +18,7 @@ class JoinableCombat(FrozenCombat, ABC):
self.flights = flights
@abstractmethod
def joinable_by(self, flight: Flight) -> bool:
...
def joinable_by(self, flight: Flight) -> bool: ...
def join(self, flight: Flight) -> None:
assert isinstance(flight.state, InFlight)