From 73baaca3e4c55f1686fec8b7af880975c6ead2d6 Mon Sep 17 00:00:00 2001 From: Noah Mollerstuen <35637345+NoahMollerstuen@users.noreply.github.com> Date: Sun, 9 Jun 2024 14:45:19 -0400 Subject: [PATCH] Type annotations Co-authored-by: Benjamin Poulin <90342856+benjaminwp18@users.noreply.github.com> --- src/surface/gui/gui/pilot_app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/surface/gui/gui/pilot_app.py b/src/surface/gui/gui/pilot_app.py index 94579719..3c01f32f 100644 --- a/src/surface/gui/gui/pilot_app.py +++ b/src/surface/gui/gui/pilot_app.py @@ -23,8 +23,8 @@ class GuiType(enum.Enum): DEBUG = "debug" -TWO_MONITOR_CONFIG = {GuiType.PILOT: None, GuiType.LIVESTREAM: 1} -THREE_MONITOR_CONFIG = {GuiType.PILOT: 2, GuiType.LIVESTREAM: 1} +TWO_MONITOR_CONFIG: dict[GuiType, int | None] = {GuiType.PILOT: None, GuiType.LIVESTREAM: 1} +THREE_MONITOR_CONFIG: dict[GuiType, int | None] = {GuiType.PILOT: 2, GuiType.LIVESTREAM: 1} def make_bottom_bar() -> QHBoxLayout: