mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-03 18:29:09 +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
|
@ -6,7 +6,7 @@ from slint import slint as native
|
|||
from slint.slint import ValueType
|
||||
|
||||
|
||||
def test_basic_compiler():
|
||||
def test_basic_compiler() -> None:
|
||||
compiler = native.Compiler()
|
||||
|
||||
assert compiler.include_paths == []
|
||||
|
@ -66,7 +66,7 @@ def test_basic_compiler():
|
|||
assert instance != None
|
||||
|
||||
|
||||
def test_compiler_build_from_path():
|
||||
def test_compiler_build_from_path() -> None:
|
||||
compiler = native.Compiler()
|
||||
|
||||
result = compiler.build_from_path("Nonexistent.slint")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue