mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-06 10:44:04 +00:00
Update poetry locks and pre-commit hooks (#837)
Also updates CI pypy versions to be 3.9 and 3.10 which are the currently [supported versions](https://www.pypy.org/posts/2024/01/pypy-v7315-release.html). Otherwise latest cryptography doesn't ship with pypy3.8 wheels and is unable to build on windows. Also updates the `codecov-action` to v4 which fixed some intermittent uploading errors.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
"""Package for supporting tapo-branded and newer kasa devices."""
|
||||
|
||||
from .smartbulb import SmartBulb
|
||||
from .smartchilddevice import SmartChildDevice
|
||||
from .smartdevice import SmartDevice
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Modules for SMART devices."""
|
||||
|
||||
from .alarmmodule import AlarmModule
|
||||
from .autooffmodule import AutoOffModule
|
||||
from .battery import BatterySensor
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Implementation of alarm module."""
|
||||
|
||||
from typing import TYPE_CHECKING, Dict, List, Optional
|
||||
|
||||
from ...feature import Feature, FeatureType
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Implementation of auto off module."""
|
||||
|
||||
from datetime import datetime, timedelta
|
||||
from typing import TYPE_CHECKING, Dict, Optional
|
||||
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Implementation of battery module."""
|
||||
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
from ...feature import Feature, FeatureType
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Implementation of brightness module."""
|
||||
|
||||
from typing import TYPE_CHECKING, Dict
|
||||
|
||||
from ...feature import Feature, FeatureType
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Implementation of cloud module."""
|
||||
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
from ...feature import Feature, FeatureType
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Implementation of color temp module."""
|
||||
|
||||
from typing import TYPE_CHECKING, Dict
|
||||
|
||||
from ...bulb import ColorTempRange
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Implementation of device module."""
|
||||
|
||||
from typing import Dict
|
||||
|
||||
from ..smartmodule import SmartModule
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Implementation of energy monitoring module."""
|
||||
|
||||
from typing import TYPE_CHECKING, Dict, Optional
|
||||
|
||||
from ...emeterstatus import EmeterStatus
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Implementation of firmware module."""
|
||||
|
||||
from typing import TYPE_CHECKING, Dict, Optional
|
||||
|
||||
from ...exceptions import SmartErrorCode
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Implementation of humidity module."""
|
||||
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
from ...feature import Feature, FeatureType
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Module for led controls."""
|
||||
|
||||
from typing import TYPE_CHECKING, Dict
|
||||
|
||||
from ...feature import Feature, FeatureType
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Module for smooth light transitions."""
|
||||
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
from ...exceptions import KasaException
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Implementation of report module."""
|
||||
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
from ...feature import Feature
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Implementation of temperature module."""
|
||||
|
||||
from typing import TYPE_CHECKING, Literal
|
||||
|
||||
from ...feature import Feature, FeatureType
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Implementation of time module."""
|
||||
|
||||
from datetime import datetime, timedelta, timezone
|
||||
from time import mktime
|
||||
from typing import TYPE_CHECKING, cast
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Module for tapo-branded smart bulbs (L5**)."""
|
||||
|
||||
from typing import Dict, List, Optional
|
||||
|
||||
from ..bulb import Bulb
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Child device implementation."""
|
||||
|
||||
import logging
|
||||
from typing import Optional
|
||||
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Module for a SMART device."""
|
||||
|
||||
import base64
|
||||
import logging
|
||||
from datetime import datetime, timedelta
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Base implementation for SMART modules."""
|
||||
|
||||
import logging
|
||||
from typing import TYPE_CHECKING, Dict, Type
|
||||
|
||||
|
Reference in New Issue
Block a user