Python: run mypy on the tests

This commit is contained in:
Simon Hausmann 2025-02-12 16:28:26 +01:00 committed by Simon Hausmann
parent c111098e49
commit 607d70b3fa
21 changed files with 169 additions and 69 deletions

View file

@ -8,7 +8,7 @@ import os
def test_property_access():
def test_property_access() -> None:
compiler = native.Compiler()
compdef = compiler.build_from_source("""
@ -125,7 +125,7 @@ def test_property_access():
assert instance.get_global_property("TestGlobal", "theglobalprop") == "Ok"
def test_callbacks():
def test_callbacks() -> None:
compiler = native.Compiler()
compdef = compiler.build_from_source("""