mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fix mypy complaints
This commit is contained in:
parent
53122ff149
commit
1e5cb94feb
@ -525,7 +525,7 @@ class AircraftType(UnitType[Type[FlyingType]]):
|
||||
setattr(pylon, w, (pylon_number, weapon))
|
||||
|
||||
@staticmethod
|
||||
def _user_weapon_injections(aircraft):
|
||||
def _user_weapon_injections(aircraft: Type[FlyingType]) -> None:
|
||||
data_path = user_custom_weapon_injections_dir() / f"{aircraft.id}.yaml"
|
||||
if not data_path.exists():
|
||||
return
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user