Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion matter_server/common/helpers/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def dataclass_from_dict(
extra_keys = dict_obj.keys() - {f.name for f in dc_fields}
if extra_keys:
raise KeyError(
f'Extra key(s) {",".join(extra_keys)} not allowed for {str(cls)}'
f"Extra key(s) {','.join(extra_keys)} not allowed for {str(cls)}"
)
type_hints = cached_type_hints(cls)
return cls(
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ test = [
"pytest-asyncio==0.25.2",
"pytest-aiohttp==1.0.5",
"pytest-cov==6.0.0",
"ruff==0.8.6",
"ruff==0.9.1",
"tomli==2.2.1",
]

Expand Down
2 changes: 1 addition & 1 deletion tests/ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ lint.extend-select = [
lint.extend-ignore = [
"S101", # Use of assert detected. As these are tests...
"SLF001", # Tests will access private/protected members...
"TCH002", # pytest doesn't like this one...
"TC002", # pytest doesn't like this one...
"PT012", # annoying with tests
]
Loading