Skip to content

Commit 16961b0

Browse files
Bump ruff from 0.2.2 to 0.3.0 (#615)
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 3e47044 commit 16961b0

12 files changed

+12
-1
lines changed

main.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Run the Matter Server."""
2+
23
import sys
34

45
from matter_server.server.__main__ import main

matter_server/client/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Client for the MatterServer."""
2+
23
from .client import MatterClient
34

45
__all__ = ["MatterClient"]

matter_server/client/exceptions.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Client-specific Exceptions for matter-server library."""
2+
23
from __future__ import annotations
34

45

matter_server/client/models/device_types.py

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
This file is auto generated from `zcl/data-model/chip/matter-devices.xml`
55
Do not override!
66
"""
7+
78
from __future__ import annotations
89

910
import typing

matter_server/common/errors.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Matter Exceptions."""
2+
23
from __future__ import annotations
34

45
from typing import Type

matter_server/common/helpers/api.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Several helpers for the WebSockets API."""
2+
23
from __future__ import annotations
34

45
from dataclasses import MISSING, dataclass

matter_server/server/helpers/custom_web_runner.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Multiple host capable aiohttp Site."""
2+
23
from __future__ import annotations
34

45
import asyncio

matter_server/server/storage.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Logic to handle storage of persistent data."""
2+
23
from __future__ import annotations
34

45
import asyncio

matter_server/server/vendor_info.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Fetches vendor info from the CSA."""
2+
23
from __future__ import annotations
34

45
import logging

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ test = [
4848
"pytest-asyncio==0.23.5",
4949
"pytest-aiohttp==1.0.5",
5050
"pytest-cov==4.1.0",
51-
"ruff==0.2.2",
51+
"ruff==0.3.0",
5252
"safety==3.0.1",
5353
"tomli==2.0.1",
5454
]

scripts/beautify_diagnostics.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Script to beautify diagnostics output."""
2+
23
import json
34
import sys
45

scripts/generate_devices.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Generate device types from matter-devices.xml."""
2+
23
import pathlib
34

45
import black

0 commit comments

Comments
 (0)