Skip to content

Commit 8e73c9f

Browse files
committed
Remove unused _LOGGER and stale pylint comment
1 parent 489f955 commit 8e73c9f

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

pyoverkiz/models.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import functools
88
import inspect
99
import json
10-
import logging
1110
import re
1211
from collections.abc import Iterator
1312
from typing import Any, cast
@@ -34,10 +33,6 @@
3433
from pyoverkiz.obfuscate import obfuscate_email, obfuscate_id, obfuscate_string
3534
from pyoverkiz.types import DATA_TYPE_TO_PYTHON, StateType
3635

37-
# pylint: disable=unused-argument, too-many-instance-attributes, too-many-locals
38-
39-
T = Any # generic type alias for converter factories
40-
4136

4237
def _to_list(cls_or_name: type | str) -> Any:
4338
"""Converter: list of dicts -> list of model instances.
@@ -118,8 +113,6 @@ def wrapper(self: Any, **kwargs: Any) -> None:
118113
r"(?P<protocol>[^:]+)://(?P<gatewayId>[^/]+)/(?P<deviceAddress>[^#]+)(#(?P<subsystemId>\d+))?"
119114
)
120115

121-
_LOGGER = logging.getLogger(__name__)
122-
123116

124117
@_flexible_init
125118
@define(kw_only=True)

0 commit comments

Comments
 (0)