mirror of
https://github.com/XiaoMi/ha_xiaomi_home.git
synced 2026-01-15 22:10:43 +08:00
fix: fix pylint warning
This commit is contained in:
parent
bc62891576
commit
37492438e8
@ -155,6 +155,7 @@ class MIoTSpecValueListItem:
|
||||
|
||||
class MIoTSpecValueList:
|
||||
"""MIoT SPEC value list class."""
|
||||
# pylint: disable=inconsistent-quotes
|
||||
items: list[MIoTSpecValueListItem]
|
||||
|
||||
def __init__(self, value_list: list[dict]) -> None:
|
||||
@ -218,6 +219,7 @@ class MIoTSpecValueList:
|
||||
|
||||
class _SpecStdLib:
|
||||
"""MIoT-Spec-V2 standard library."""
|
||||
# pylint: disable=inconsistent-quotes
|
||||
_lang: str
|
||||
_devices: dict[str, dict[str, str]]
|
||||
_services: dict[str, dict[str, str]]
|
||||
|
||||
@ -67,9 +67,7 @@ from cryptography.hazmat.primitives import hashes
|
||||
from cryptography.hazmat.primitives.asymmetric import ed25519
|
||||
|
||||
# pylint: disable=relative-beyond-top-level
|
||||
from .common import load_json_file
|
||||
from .const import (
|
||||
DEFAULT_INTEGRATION_LANGUAGE,
|
||||
MANUFACTURER_EFFECTIVE_TIME,
|
||||
MIHOME_CA_CERT_STR,
|
||||
MIHOME_CA_CERT_SHA256)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user