Fix mypy issues in faction code.

This commit is contained in:
Dan Albert
2020-10-25 16:18:03 -07:00
parent ec7f8f5710
commit b405c3ab32
3 changed files with 78 additions and 37 deletions

View File

@@ -911,7 +911,7 @@ CARRIER_TAKEOFF_BAN: List[Type[FlyingType]] = [
Units separated by country.
country : DCS Country name
"""
FACTIONS: [Faction] = FactionLoader.load_factions()
FACTIONS: Dict[str, Faction] = FactionLoader.load_factions()
CARRIER_TYPE_BY_PLANE = {
FA_18C_hornet: CVN_74_John_C__Stennis,