From e851223733ca24b8479dc9c4cfaf76cb724661a3 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Wed, 18 Nov 2020 01:58:35 -0800 Subject: [PATCH] Fix mypy. --- game/settings.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/game/settings.py b/game/settings.py index c292da5a..ad496b65 100644 --- a/game/settings.py +++ b/game/settings.py @@ -1,5 +1,5 @@ from dataclasses import dataclass, field -from typing import Dict +from typing import Dict, Optional @dataclass @@ -21,11 +21,11 @@ class Settings: night_disabled: bool = False external_views_allowed: bool = True supercarrier: bool = False - multiplier: bool = 1 + multiplier: float = 1 generate_marks: bool = True sams: bool = True # Legacy parameter do not use cold_start: bool = False # Legacy parameter do not use - version: bool = None + version: Optional[str] = None # Performance oriented perf_red_alert_state: bool = True