mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Reformat code with upgraded version of black (#3446)
This commit is contained in:
@@ -15,15 +15,12 @@ if TYPE_CHECKING:
|
||||
|
||||
class WaypointAction(ABC):
|
||||
@abstractmethod
|
||||
def describe(self) -> str:
|
||||
...
|
||||
def describe(self) -> str: ...
|
||||
|
||||
@abstractmethod
|
||||
def update_state(
|
||||
self, state: ActionState, time: datetime, duration: timedelta
|
||||
) -> timedelta:
|
||||
...
|
||||
) -> timedelta: ...
|
||||
|
||||
@abstractmethod
|
||||
def iter_tasks(self, ctx: TaskContext) -> Iterator[Task]:
|
||||
...
|
||||
def iter_tasks(self, ctx: TaskContext) -> Iterator[Task]: ...
|
||||
|
||||
@@ -28,14 +28,12 @@ def point_at_heading(p: Point, heading: Heading, distance: Distance) -> Point:
|
||||
|
||||
class Prerequisite(ABC):
|
||||
@abstractmethod
|
||||
def is_satisfied(self) -> bool:
|
||||
...
|
||||
def is_satisfied(self) -> bool: ...
|
||||
|
||||
@abstractmethod
|
||||
def describe_debug_info(
|
||||
self, to_geojson: Callable[[BaseGeometry], dict[str, Any]]
|
||||
) -> dict[str, Any]:
|
||||
...
|
||||
) -> dict[str, Any]: ...
|
||||
|
||||
|
||||
class DistancePrerequisite(Prerequisite):
|
||||
|
||||
Reference in New Issue
Block a user