autotyping: --scalar-return

This commit is contained in:
Hugo van Kemenade 2024-01-27 12:44:28 +02:00
parent 5f802dd298
commit 20cd1ab54a

View File

@ -26,7 +26,7 @@ def test_register() -> None:
)
def test_viewer_show(order) -> None:
class TestViewer(ImageShow.Viewer):
def show_image(self, image, **options):
def show_image(self, image, **options) -> bool:
self.methodCalled = True
return True