Skip to content

Commit 32e124d

Browse files
Bump ruff from 0.14.13 to 0.14.14 (#1318)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
1 parent cf19d06 commit 32e124d

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

matter_server/client/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
import asyncio
66
import logging
7-
from typing import TYPE_CHECKING, Any, Final, cast
7+
from typing import TYPE_CHECKING, Any, Final, Self, cast
88
import uuid
99

1010
from chip.clusters import Objects as Clusters
@@ -788,7 +788,7 @@ def _signal_event(
788788
for callback in self._subscribers.get(key, []):
789789
callback(event, data)
790790

791-
async def __aenter__(self) -> "MatterClient":
791+
async def __aenter__(self) -> Self:
792792
"""Initialize and connect the Matter Websocket client."""
793793
await self.connect()
794794
return self

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ test = [
5252
"pytest-asyncio==1.3.0",
5353
"pytest-aiohttp==1.1.0",
5454
"pytest-cov==7.0.0",
55-
"ruff==0.14.13",
55+
"ruff==0.14.14",
5656
"tomli==2.4.0",
5757
]
5858

@@ -222,7 +222,6 @@ ignore = [
222222
"SLF001", # TEMPORARY DISABLED
223223
"RUF010", # TEMPORARY DISABLED
224224
"TRY300", # TEMPORARY DISABLED
225-
"UP038", # TEMPORARY DISABLED
226225
"PTH118", # TEMPORARY DISABLED
227226
"PTH112", # TEMPORARY DISABLED
228227
"PTH102", # TEMPORARY DISABLED

0 commit comments

Comments
 (0)