1
0
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:
Stefan Agner
2025-01-21 11:57:30 +01:00
committed by GitHub
parent fff3bfd01e
commit b7412b0679
13 changed files with 31 additions and 33 deletions

View File

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