Skip to content

Commit cfcd99a

Browse files
⬆️ Update dependency ruff to v0.14.4 (#487)
* ⬆️ Update dependency ruff to v0.14.4 * Fix --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Joostlek <joostlek@outlook.com>
1 parent 0b2e0c0 commit cfcd99a

File tree

4 files changed

+26
-25
lines changed

4 files changed

+26
-25
lines changed

poetry.lock

Lines changed: 21 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ pytest-timeout = "2.4.0"
4545
pre-commit = "4.4.0"
4646
pre-commit-hooks = "6.0.0"
4747
yamllint = "1.37.1"
48-
ruff = "0.13.3"
48+
ruff = "0.14.4"
4949
syrupy = "5.0.0"
5050
aioresponses = "0.7.8"
5151
treelib = "1.8.0"

script/generate_enums.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
"""Process the device status JSON file to generate a tree of a device status."""
22

3+
from collections.abc import Callable
34
import json
45
from pathlib import Path
56
import re
67
import sys
7-
from typing import Any, Callable
8+
from typing import Any
89

910
ORDER = ["standard", "custom", "samsungce", "samsungvd", "samsungim"]
1011

src/pysmartthings/smartthings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
import asyncio
66
from dataclasses import dataclass, field
7-
from typing import TYPE_CHECKING, Any, Callable, Self, cast
7+
from typing import TYPE_CHECKING, Any, Self, cast
88

99
from aiohttp import ClientConnectionError, ClientError, ClientSession, ClientTimeout
1010
from aiohttp.hdrs import METH_DELETE, METH_GET, METH_POST, METH_PUT
@@ -45,7 +45,7 @@
4545
)
4646

4747
if TYPE_CHECKING:
48-
from collections.abc import Awaitable
48+
from collections.abc import Awaitable, Callable
4949

5050
from .attribute import Attribute
5151
from .capability import Capability

0 commit comments

Comments
 (0)