mirror of
https://github.com/slint-ui/slint.git
synced 2025-07-16 01:25:27 +00:00
Python: run mypy on the tests
This commit is contained in:
parent
c111098e49
commit
607d70b3fa
21 changed files with 169 additions and 69 deletions
|
@ -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("""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue