Fix mypy.

This commit is contained in:
Dan Albert 2020-11-18 01:58:35 -08:00
parent 1f12546ff4
commit e851223733

View File

@ -1,5 +1,5 @@
from dataclasses import dataclass, field from dataclasses import dataclass, field
from typing import Dict from typing import Dict, Optional
@dataclass @dataclass
@ -21,11 +21,11 @@ class Settings:
night_disabled: bool = False night_disabled: bool = False
external_views_allowed: bool = True external_views_allowed: bool = True
supercarrier: bool = False supercarrier: bool = False
multiplier: bool = 1 multiplier: float = 1
generate_marks: bool = True generate_marks: bool = True
sams: bool = True # Legacy parameter do not use sams: bool = True # Legacy parameter do not use
cold_start: bool = False # Legacy parameter do not use cold_start: bool = False # Legacy parameter do not use
version: bool = None version: Optional[str] = None
# Performance oriented # Performance oriented
perf_red_alert_state: bool = True perf_red_alert_state: bool = True