Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 6, 2023
1 parent f13a598 commit a1ece4e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/pyatmo/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}

# Special types
RawData = Dict[str, Any]
RawData = dict[str, Any]

DEFAULT_BASE_URL: str = "https://api.netatmo.com/"

Expand Down
3 changes: 2 additions & 1 deletion src/pyatmo/modules/base_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@

import logging
from abc import ABC
from collections.abc import Iterable
from dataclasses import dataclass
from typing import TYPE_CHECKING, Any, Iterable
from typing import TYPE_CHECKING, Any

from pyatmo.const import RawData
from pyatmo.modules.device_types import DeviceType
Expand Down
2 changes: 1 addition & 1 deletion src/pyatmo/modules/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

LOG = logging.getLogger(__name__)

ModuleT = Dict[str, Any]
ModuleT = dict[str, Any]

# Hide from features list
ATTRIBUTE_FILTER = {
Expand Down

0 comments on commit a1ece4e

Please sign in to comment.