Skip to content

Commit

Permalink
Bump ruff from 0.8.6 to 0.9.1 (#1031)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Jan 13, 2025
1 parent a706367 commit f0be9a0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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
]

0 comments on commit f0be9a0

Please sign in to comment.