chore: clear typehinting errors in build scripts

This commit is contained in:
aclist committed 2026-11-12 12:01:59 +09:00
1 parent 77682cacd4
commit d2208787b4
5 files changed
+24 -20

No files matched your search

+10 -4
View File
@@ -8,7 +8,13 @@ def get_image_path() -> Path:
return get_git_root().joinpath("dzgui/data/images/example.png")
p = get_image_path()
app = build_gui("", False)
app.set_automation_param("screenshot_path", p)
app.run(None)
def take_screenshot() -> None:
p = get_image_path()
app = build_gui("", False)
if app is None:
return
app.set_automation_param("screenshot_path", p)
app.run(None)
take_screenshot()