From b8f127bed81176db1725404c30d68f3c9dcaecbe Mon Sep 17 00:00:00 2001 From: royjr Date: Sun, 23 Aug 2026 21:47:08 -0400 Subject: [PATCH] lint --- openpilot/selfdrive/ui/sunnypilot/mici/onroad/hud_renderer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openpilot/selfdrive/ui/sunnypilot/mici/onroad/hud_renderer.py b/openpilot/selfdrive/ui/sunnypilot/mici/onroad/hud_renderer.py index a9e4605a2a..f943059cff 100644 --- a/openpilot/selfdrive/ui/sunnypilot/mici/onroad/hud_renderer.py +++ b/openpilot/selfdrive/ui/sunnypilot/mici/onroad/hud_renderer.py @@ -42,7 +42,7 @@ class HudRendererSP(HudRenderer): widths = [cell.x if c.isdigit() else measure_text_cached(self._font_bold, c, size).x for c in pct_text] x = pos.x - 8 - sum(widths) y = pos.y + (icon.height - cell.y) / 2 - for c, w in zip(pct_text, widths): + for c, w in zip(pct_text, widths, strict=True): glyph = measure_text_cached(self._font_bold, c, size).x rl.draw_text_ex(self._font_bold, c, rl.Vector2(x + (w - glyph) / 2, y), size, 0, rl.WHITE) x += w