mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 19:32:19 +01:00
[ruff] Enable RET and fix all violations (#9929)
This commit is contained in:
@@ -31,8 +31,7 @@ class DashboardTestHelper:
|
||||
else:
|
||||
url = f"http://127.0.0.1:{self.port}{path}"
|
||||
future = self.client.fetch(url, raise_error=True, **kwargs)
|
||||
result = await future
|
||||
return result
|
||||
return await future
|
||||
|
||||
|
||||
@pytest_asyncio.fixture()
|
||||
|
Reference in New Issue
Block a user