mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fix mypy error after update
This commit is contained in:
parent
6c795bee81
commit
2be3257e3c
@ -32,7 +32,7 @@ class RangeType(IntEnum):
|
|||||||
|
|
||||||
# TODO: Refactor so that we don't need to call up to the mission planner.
|
# TODO: Refactor so that we don't need to call up to the mission planner.
|
||||||
# Bypass type checker due to https://github.com/python/mypy/issues/5374
|
# Bypass type checker due to https://github.com/python/mypy/issues/5374
|
||||||
@dataclass # type: ignore
|
@dataclass
|
||||||
class PackagePlanningTask(TheaterCommanderTask, Generic[MissionTargetT]):
|
class PackagePlanningTask(TheaterCommanderTask, Generic[MissionTargetT]):
|
||||||
target: MissionTargetT
|
target: MissionTargetT
|
||||||
flights: list[ProposedFlight] = field(init=False)
|
flights: list[ProposedFlight] = field(init=False)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user