Skip to content

Commit e623404

Browse files
Bump ruff from 0.7.4 to 0.8.0 (#966)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
1 parent 6f4007a commit e623404

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

matter_server/common/models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
from collections.abc import Callable
66
from dataclasses import dataclass, field
7-
from datetime import datetime # noqa: TCH003
7+
from datetime import datetime # noqa: TC003
88
from enum import Enum
99
from typing import Any
1010

matter_server/server/helpers/custom_web_runner.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class MultiHostTCPSite(web.BaseSite):
2121
explicitly), we would like to pass an array of strings.
2222
"""
2323

24-
__slots__ = ("_host", "_port", "_reuse_address", "_reuse_port", "_hosturl")
24+
__slots__ = ("_host", "_hosturl", "_port", "_reuse_address", "_reuse_port")
2525

2626
def __init__(
2727
self,

pyproject.toml

+1-3
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ test = [
5353
"pytest-asyncio==0.24.0",
5454
"pytest-aiohttp==1.0.5",
5555
"pytest-cov==6.0.0",
56-
"ruff==0.7.4",
56+
"ruff==0.8.0",
5757
"tomli==2.1.0",
5858
]
5959

@@ -155,7 +155,6 @@ convention = "pep257"
155155
ignore = [
156156
"ANN002", # Just annoying, not really useful
157157
"ANN003", # Just annoying, not really useful
158-
"ANN101", # Self... explanatory
159158
"ANN401", # Opinioated warning on disallowing dynamically typed expressions
160159
"D203", # Conflicts with other rules
161160
"D213", # Conflicts with other rules
@@ -214,7 +213,6 @@ ignore = [
214213
"N801", # TEMPORARY DISABLED
215214
"N813", # TEMPORARY DISABLED
216215
"RUF012", # TEMPORARY DISABLED
217-
"ANN102", # TEMPORARY DISABLED
218216
"B007", # TEMPORARY DISABLED
219217
"SIM102", # TEMPORARY DISABLED
220218
"C901", # TEMPORARY DISABLED

0 commit comments

Comments
 (0)