mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-12-24 20:35:55 +00:00
Update Python to 3.13 (#5564)
* Bump Supervisor to Python 3.13 * Update ruff configuration to 0.9.1 Adjust pyproject.toml for ruff 0.9.1. Also make sure that latest version of ruff is used in pre-commit. * Set default configuration for pytest-asyncio * Run ruff check * Drop deprecated decorator no_type_check_decorator The upstream PR (https://github.com/python/cpython/issues/106309) says this never got really implemented by type checkers. * Bump devcontainer to latest release
This commit is contained in:
@@ -117,7 +117,7 @@ async def docker() -> DockerAPI:
|
||||
|
||||
|
||||
@pytest.fixture(scope="session")
|
||||
def dbus_session() -> Generator[str, None, None]:
|
||||
def dbus_session() -> Generator[str]:
|
||||
"""Start a dbus session.
|
||||
|
||||
Returns session address.
|
||||
|
||||
Reference in New Issue
Block a user