CI: Fix formatting

This commit is contained in:
Simon Hausmann 2025-10-14 08:52:48 +02:00 committed by GitHub
parent f6dbe7749f
commit dcd0945dfc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -403,7 +403,9 @@ def _callback_decorator(
try:
import inspect
if inspect.iscoroutinefunction(callable):
def run_as_task(*args, **kwargs) -> None: # type: ignore
loop = asyncio.get_event_loop()
loop.create_task(callable(*args, **kwargs))