From 8d96ea5dd417dcd574fc2837d9e096e5bf0d51a3 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 8 Jul 2026 12:35:35 +0000 Subject: [PATCH] Add type hints and docstring to test _solid helper (CodeRabbit nitpick) --- test/test_vegas_plugin_adapter.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test_vegas_plugin_adapter.py b/test/test_vegas_plugin_adapter.py index 9c949187..323410de 100644 --- a/test/test_vegas_plugin_adapter.py +++ b/test/test_vegas_plugin_adapter.py @@ -31,7 +31,8 @@ def adapter(): return PluginAdapter(FakeDisplayManager()) -def _solid(width, height, color): +def _solid(width: int, height: int, color: tuple) -> Image.Image: + """Create a solid-color RGB image of the given dimensions.""" return Image.new('RGB', (width, height), color)