Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 21 additions & 21 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pytest-timeout = "2.4.0"
pre-commit = "4.4.0"
pre-commit-hooks = "6.0.0"
yamllint = "1.37.1"
ruff = "0.13.3"
ruff = "0.14.4"
syrupy = "5.0.0"
aioresponses = "0.7.8"
treelib = "1.8.0"
Expand Down
3 changes: 2 additions & 1 deletion script/generate_enums.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
"""Process the device status JSON file to generate a tree of a device status."""

from collections.abc import Callable
import json
from pathlib import Path
import re
import sys
from typing import Any, Callable
from typing import Any

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

Expand Down
4 changes: 2 additions & 2 deletions src/pysmartthings/smartthings.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import asyncio
from dataclasses import dataclass, field
from typing import TYPE_CHECKING, Any, Callable, Self, cast
from typing import TYPE_CHECKING, Any, Self, cast

from aiohttp import ClientConnectionError, ClientError, ClientSession, ClientTimeout
from aiohttp.hdrs import METH_DELETE, METH_GET, METH_POST, METH_PUT
Expand Down Expand Up @@ -45,7 +45,7 @@
)

if TYPE_CHECKING:
from collections.abc import Awaitable
from collections.abc import Awaitable, Callable

from .attribute import Attribute
from .capability import Capability
Expand Down
Loading