mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Run black after update
This commit is contained in:
parent
71504afd01
commit
398bb0775d
@ -31,7 +31,7 @@ class DegradeIads(CompoundTask[TheaterState]):
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def plan_against(
|
def plan_against(
|
||||||
target: Union[IadsGroundObject, NavalGroundObject]
|
target: Union[IadsGroundObject, NavalGroundObject],
|
||||||
) -> Union[PlanDead, PlanAntiShip]:
|
) -> Union[PlanDead, PlanAntiShip]:
|
||||||
if isinstance(target, IadsGroundObject):
|
if isinstance(target, IadsGroundObject):
|
||||||
return PlanDead(target)
|
return PlanDead(target)
|
||||||
|
|||||||
@ -8,7 +8,7 @@ GuardT = TypeVar("GuardT")
|
|||||||
|
|
||||||
|
|
||||||
def self_type_guard(
|
def self_type_guard(
|
||||||
f: Callable[[SelfT, BaseT], TypeGuard[GuardT]]
|
f: Callable[[SelfT, BaseT], TypeGuard[GuardT]],
|
||||||
) -> Callable[[SelfT, BaseT], TypeGuard[GuardT]]:
|
) -> Callable[[SelfT, BaseT], TypeGuard[GuardT]]:
|
||||||
def decorator(s: SelfT, arg: BaseT) -> TypeGuard[GuardT]:
|
def decorator(s: SelfT, arg: BaseT) -> TypeGuard[GuardT]:
|
||||||
if id(s) != id(arg):
|
if id(s) != id(arg):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user