Run black after update

This commit is contained in:
Raffson 2025-03-22 17:10:01 +01:00
parent 71504afd01
commit 398bb0775d
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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):