From 3b13e81414b484eea05adfc10e4ec8df380c3d3a Mon Sep 17 00:00:00 2001 From: discountchubbs Date: Mon, 10 Aug 2026 13:25:09 -0700 Subject: [PATCH] lint --- openpilot/sunnypilot/modeld_v2/modeld.py | 3 ++- openpilot/sunnypilot/modeld_v2/tests/conftest.py | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/openpilot/sunnypilot/modeld_v2/modeld.py b/openpilot/sunnypilot/modeld_v2/modeld.py index a629405ea8..39b67ff422 100755 --- a/openpilot/sunnypilot/modeld_v2/modeld.py +++ b/openpilot/sunnypilot/modeld_v2/modeld.py @@ -353,7 +353,8 @@ def main(demo=False): model = None if USBGPU: import threading - def load(): nonlocal model; model = ModelState(cam_w=vipc_client_main.width, cam_h=vipc_client_main.height) + def load(): nonlocal model + model = ModelState(cam_w=vipc_client_main.width, cam_h=vipc_client_main.height) t = threading.Thread(target=load, daemon=True) t.start() t.join(60) diff --git a/openpilot/sunnypilot/modeld_v2/tests/conftest.py b/openpilot/sunnypilot/modeld_v2/tests/conftest.py index fc151eeac5..cbdf9ad826 100644 --- a/openpilot/sunnypilot/modeld_v2/tests/conftest.py +++ b/openpilot/sunnypilot/modeld_v2/tests/conftest.py @@ -4,8 +4,6 @@ Copyright (c) 2021-, Haibin Wen, sunnypilot, and a number of other contributors. This file is part of sunnypilot and is licensed under the MIT License. See the LICENSE.md file in the root directory for more details. """ - -import pickle import pytest import openpilot.sunnypilot.models.helpers as helpers