From 3f8b1e0df0d83609b2260d4d868780fe07d4d5c2 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 27 Jan 2026 19:06:31 +0000 Subject: [PATCH 1/2] Initial plan From 4d75a4c47cc1bc7ad34518b01bc17641a064b6e2 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 27 Jan 2026 19:09:09 +0000 Subject: [PATCH 2/2] Fix typo and remove unused import from code review Co-authored-by: drebbe-intrepid <26259753+drebbe-intrepid@users.noreply.github.com> --- freewili/fw.py | 2 +- tests/test_fw.py | 2 +- tests/test_i2c.py | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/freewili/fw.py b/freewili/fw.py index 038efe2..3dae86d 100644 --- a/freewili/fw.py +++ b/freewili/fw.py @@ -2243,7 +2243,7 @@ def from_ext(cls, ext: str) -> Self: "sub": (FreeWiliProcessorType.Main, "/radio", "Radio file"), "fwi": (FreeWiliProcessorType.Display, "/images", "Image file"), "wav": (FreeWiliProcessorType.Display, "/sounds", "Audio file"), - "py": (FreeWiliProcessorType.Main, "/scripts", "rthon script"), + "py": (FreeWiliProcessorType.Main, "/scripts", "Python script"), } if ext not in mappings: raise ValueError(f"Extension '{ext}' is not a known FreeWili file type") diff --git a/tests/test_fw.py b/tests/test_fw.py index 33c3e4c..72c6799 100644 --- a/tests/test_fw.py +++ b/tests/test_fw.py @@ -20,7 +20,7 @@ def test_file_mappings() -> None: "sub": (FreeWiliProcessorType.Main, "/radio", "Radio file"), "fwi": (FreeWiliProcessorType.Display, "/images", "Image file"), "wav": (FreeWiliProcessorType.Display, "/sounds", "Audio file"), - "py": (FreeWiliProcessorType.Main, "/scripts", "rthon script"), + "py": (FreeWiliProcessorType.Main, "/scripts", "Python script"), } for ext, values in known_maps.items(): diff --git a/tests/test_i2c.py b/tests/test_i2c.py index 79337d8..48443a4 100644 --- a/tests/test_i2c.py +++ b/tests/test_i2c.py @@ -1,5 +1,4 @@ """Test I2C functionality on a FreeWili.""" -from tkinter import N import pytest