pw_graphics: Pylint fix

Change-Id: I4da493a583faa95473de7494783a8135574d8f75
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/experimental/+/275813
Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com>
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
Pigweed-Auto-Submit: Anthony DiGirolamo <tonymd@google.com>
Reviewed-by: Ted Pudlik <tpudlik@google.com>
diff --git a/pw_graphics/py/pw_graphics/png2cc.py b/pw_graphics/py/pw_graphics/png2cc.py
index 4201dbf..b093172 100755
--- a/pw_graphics/py/pw_graphics/png2cc.py
+++ b/pw_graphics/py/pw_graphics/png2cc.py
@@ -157,6 +157,7 @@
     tile_height = math.floor(image_height / sprite_height)
     tile_width = max(tile_width, 1)
     tile_height = max(tile_height, 1)
+    sprite_data: list[list[str]] = []
 
     if args.output_mode == 'rgb565':
         sprite_data = render_rgb565_header(