Skip to content

Commit

Permalink
Bump ruff from 0.2.2 to 0.3.0 (#615)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marcel van der Veldt <[email protected]>
  • Loading branch information
dependabot[bot] and marcelveldt committed Mar 6, 2024
1 parent 3e47044 commit 16961b0
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Run the Matter Server."""

import sys

from matter_server.server.__main__ import main
Expand Down
1 change: 1 addition & 0 deletions matter_server/client/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Client for the MatterServer."""

from .client import MatterClient

__all__ = ["MatterClient"]
1 change: 1 addition & 0 deletions matter_server/client/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Client-specific Exceptions for matter-server library."""

from __future__ import annotations


Expand Down
1 change: 1 addition & 0 deletions matter_server/client/models/device_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
This file is auto generated from `zcl/data-model/chip/matter-devices.xml`
Do not override!
"""

from __future__ import annotations

import typing
Expand Down
1 change: 1 addition & 0 deletions matter_server/common/errors.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Matter Exceptions."""

from __future__ import annotations

from typing import Type
Expand Down
1 change: 1 addition & 0 deletions matter_server/common/helpers/api.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Several helpers for the WebSockets API."""

from __future__ import annotations

from dataclasses import MISSING, dataclass
Expand Down
1 change: 1 addition & 0 deletions matter_server/server/helpers/custom_web_runner.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Multiple host capable aiohttp Site."""

from __future__ import annotations

import asyncio
Expand Down
1 change: 1 addition & 0 deletions matter_server/server/storage.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Logic to handle storage of persistent data."""

from __future__ import annotations

import asyncio
Expand Down
1 change: 1 addition & 0 deletions matter_server/server/vendor_info.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Fetches vendor info from the CSA."""

from __future__ import annotations

import logging
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ test = [
"pytest-asyncio==0.23.5",
"pytest-aiohttp==1.0.5",
"pytest-cov==4.1.0",
"ruff==0.2.2",
"ruff==0.3.0",
"safety==3.0.1",
"tomli==2.0.1",
]
Expand Down
1 change: 1 addition & 0 deletions scripts/beautify_diagnostics.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Script to beautify diagnostics output."""

import json
import sys

Expand Down
1 change: 1 addition & 0 deletions scripts/generate_devices.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Generate device types from matter-devices.xml."""

import pathlib

import black
Expand Down

0 comments on commit 16961b0

Please sign in to comment.