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 @@
|
||||
"""Module for individual feature modules."""
|
||||
|
||||
from .ambientlight import AmbientLight
|
||||
from .antitheft import Antitheft
|
||||
from .cloud import Cloud
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Implementation of the ambient light (LAS) module found in some dimmers."""
|
||||
|
||||
from ...feature import Feature, FeatureType
|
||||
from ..iotmodule import IotModule, merge
|
||||
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Implementation of the antitheft module."""
|
||||
|
||||
from .rulemodule import RuleModule
|
||||
|
||||
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Cloud module implementation."""
|
||||
|
||||
try:
|
||||
from pydantic.v1 import BaseModel
|
||||
except ImportError:
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Implementation for the countdown timer."""
|
||||
|
||||
from .rulemodule import RuleModule
|
||||
|
||||
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Implementation of the emeter module."""
|
||||
|
||||
from datetime import datetime
|
||||
from typing import Dict, List, Optional, Union
|
||||
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Implementation of the motion detection (PIR) module found in some dimmers."""
|
||||
|
||||
from enum import Enum
|
||||
from typing import Optional
|
||||
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Base implementation for all rule-based modules."""
|
||||
|
||||
import logging
|
||||
from enum import Enum
|
||||
from typing import Dict, List, Optional
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Schedule module implementation."""
|
||||
|
||||
from .rulemodule import RuleModule
|
||||
|
||||
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Provides the current time and timezone information."""
|
||||
|
||||
from datetime import datetime
|
||||
|
||||
from ...exceptions import KasaException
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Implementation of the usage interface."""
|
||||
|
||||
from datetime import datetime
|
||||
from typing import Dict
|
||||
|
||||
|
Reference in New Issue
Block a user