From e58717d38b3a44e69ce6681efddbf483584fa37b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Jan 2026 08:49:50 +0000 Subject: [PATCH 1/2] Bump ruff from 0.14.13 to 0.14.14 Bumps [ruff](https://github.com/astral-sh/ruff) from 0.14.13 to 0.14.14. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.14.13...0.14.14) --- updated-dependencies: - dependency-name: ruff dependency-version: 0.14.14 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index b43c48b6..7b9ad081 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,7 +52,7 @@ test = [ "pytest-asyncio==1.3.0", "pytest-aiohttp==1.1.0", "pytest-cov==7.0.0", - "ruff==0.14.13", + "ruff==0.14.14", "tomli==2.4.0", ] From 04904cf7b2eca76f3dbd40dd3f55cf3ce3b6b79f Mon Sep 17 00:00:00 2001 From: Martin Hjelmare Date: Mon, 26 Jan 2026 12:46:48 +0100 Subject: [PATCH 2/2] Delint --- matter_server/client/client.py | 4 ++-- pyproject.toml | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/matter_server/client/client.py b/matter_server/client/client.py index 5757d92b..dd7796cc 100644 --- a/matter_server/client/client.py +++ b/matter_server/client/client.py @@ -4,7 +4,7 @@ import asyncio import logging -from typing import TYPE_CHECKING, Any, Final, cast +from typing import TYPE_CHECKING, Any, Final, Self, cast import uuid from chip.clusters import Objects as Clusters @@ -788,7 +788,7 @@ def _signal_event( for callback in self._subscribers.get(key, []): callback(event, data) - async def __aenter__(self) -> "MatterClient": + async def __aenter__(self) -> Self: """Initialize and connect the Matter Websocket client.""" await self.connect() return self diff --git a/pyproject.toml b/pyproject.toml index 7b9ad081..9f70528c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -222,7 +222,6 @@ ignore = [ "SLF001", # TEMPORARY DISABLED "RUF010", # TEMPORARY DISABLED "TRY300", # TEMPORARY DISABLED - "UP038", # TEMPORARY DISABLED "PTH118", # TEMPORARY DISABLED "PTH112", # TEMPORARY DISABLED "PTH102", # TEMPORARY DISABLED