mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-01 20:31:27 +00:00
Python: Run ruff linter
This commit is contained in:
parent
18032e13b4
commit
1fc0c79cbd
11 changed files with 31 additions and 38 deletions
|
|
@ -19,10 +19,10 @@ def test_callback_gc() -> None:
|
|||
""",
|
||||
"",
|
||||
).component("Test")
|
||||
assert compdef != None
|
||||
assert compdef is not None
|
||||
|
||||
instance: native.ComponentInstance | None = compdef.create()
|
||||
assert instance != None
|
||||
assert instance is not None
|
||||
|
||||
class Handler:
|
||||
def __init__(self, instance: native.ComponentInstance) -> None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue