Python: Run ruff linter

This commit is contained in:
Simon Hausmann 2025-02-18 13:58:22 +00:00 committed by Simon Hausmann
parent 18032e13b4
commit 1fc0c79cbd
11 changed files with 31 additions and 38 deletions

View file

@ -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: