From 482b5772528bc4865bf2b696af982df93b0f7290 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Tue, 11 Aug 2026 20:53:46 +1000 Subject: [PATCH] Add type hints --- msp/test.py | 2 +- picins/test.py | 2 +- sunraster/test.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/msp/test.py b/msp/test.py index 14cd322..7d12012 100755 --- a/msp/test.py +++ b/msp/test.py @@ -18,7 +18,7 @@ ] -def test(f): +def test(f: str) -> None: try: im = Image.open(f) im.show() diff --git a/picins/test.py b/picins/test.py index 32f27f2..5cb9487 100755 --- a/picins/test.py +++ b/picins/test.py @@ -7,7 +7,7 @@ files = ["mandel.msp", "mexhat1.msp", "mexhat2.msp"] -def test(f): +def test(f: str) -> None: try: im = Image.open(f) im.show() diff --git a/sunraster/test.py b/sunraster/test.py index 42c97be..53df0f8 100755 --- a/sunraster/test.py +++ b/sunraster/test.py @@ -18,7 +18,7 @@ ] -def test(f): +def test(f: str) -> None: try: im = Image.open(f) im.show()