Skip to content

Commit f0be9a0

Browse files
Bump ruff from 0.8.6 to 0.9.1 (#1031)
1 parent a706367 commit f0be9a0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

matter_server/common/helpers/util.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ def dataclass_from_dict(
283283
extra_keys = dict_obj.keys() - {f.name for f in dc_fields}
284284
if extra_keys:
285285
raise KeyError(
286-
f'Extra key(s) {",".join(extra_keys)} not allowed for {str(cls)}'
286+
f"Extra key(s) {','.join(extra_keys)} not allowed for {str(cls)}"
287287
)
288288
type_hints = cached_type_hints(cls)
289289
return cls(

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ test = [
5454
"pytest-asyncio==0.25.2",
5555
"pytest-aiohttp==1.0.5",
5656
"pytest-cov==6.0.0",
57-
"ruff==0.8.6",
57+
"ruff==0.9.1",
5858
"tomli==2.2.1",
5959
]
6060

tests/ruff.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ lint.extend-select = [
88
lint.extend-ignore = [
99
"S101", # Use of assert detected. As these are tests...
1010
"SLF001", # Tests will access private/protected members...
11-
"TCH002", # pytest doesn't like this one...
11+
"TC002", # pytest doesn't like this one...
1212
"PT012", # annoying with tests
1313
]

0 commit comments

Comments
 (0)