mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Fix mypy.
This commit is contained in:
parent
1f12546ff4
commit
e851223733
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user