diff --git a/game/commander/tasks/compound/degradeiads.py b/game/commander/tasks/compound/degradeiads.py index d8cb9df9..92e95416 100644 --- a/game/commander/tasks/compound/degradeiads.py +++ b/game/commander/tasks/compound/degradeiads.py @@ -31,7 +31,7 @@ class DegradeIads(CompoundTask[TheaterState]): @staticmethod def plan_against( - target: Union[IadsGroundObject, NavalGroundObject] + target: Union[IadsGroundObject, NavalGroundObject], ) -> Union[PlanDead, PlanAntiShip]: if isinstance(target, IadsGroundObject): return PlanDead(target) diff --git a/game/typeguard.py b/game/typeguard.py index eac463ac..cd6a5154 100644 --- a/game/typeguard.py +++ b/game/typeguard.py @@ -8,7 +8,7 @@ GuardT = TypeVar("GuardT") def self_type_guard( - f: Callable[[SelfT, BaseT], TypeGuard[GuardT]] + f: Callable[[SelfT, BaseT], TypeGuard[GuardT]], ) -> Callable[[SelfT, BaseT], TypeGuard[GuardT]]: def decorator(s: SelfT, arg: BaseT) -> TypeGuard[GuardT]: if id(s) != id(arg):