From 353a49a2a0c6e3493df32dae03e81109c3ceb382 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Jan 2024 21:17:42 +0100 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#167) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black-pre-commit-mirror: 23.12.1 → 24.1.1](https://github.com/psf/black-pre-commit-mirror/compare/23.12.1...24.1.1) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- custom_components/ecotrend_ista/__init__.py | 1 + custom_components/ecotrend_ista/config_flow.py | 1 + custom_components/ecotrend_ista/const.py | 1 + custom_components/ecotrend_ista/const_schema.py | 1 + custom_components/ecotrend_ista/coordinator.py | 1 + custom_components/ecotrend_ista/diagnostics.py | 1 + custom_components/ecotrend_ista/entity.py | 1 + custom_components/ecotrend_ista/sensor.py | 1 + 9 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e92a053..05ee4f0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,7 +29,7 @@ repos: - "--remove-unused-variables" - "--remove-all-unused-imports" - repo: https://github.com/psf/black-pre-commit-mirror - rev: 23.12.1 + rev: 24.1.1 hooks: - id: black args: diff --git a/custom_components/ecotrend_ista/__init__.py b/custom_components/ecotrend_ista/__init__.py index 83bc8b3..edfbaee 100644 --- a/custom_components/ecotrend_ista/__init__.py +++ b/custom_components/ecotrend_ista/__init__.py @@ -1,4 +1,5 @@ """ista EcoTrend Version 3.""" + from __future__ import annotations import logging diff --git a/custom_components/ecotrend_ista/config_flow.py b/custom_components/ecotrend_ista/config_flow.py index c0e2ca1..0a742ea 100644 --- a/custom_components/ecotrend_ista/config_flow.py +++ b/custom_components/ecotrend_ista/config_flow.py @@ -1,4 +1,5 @@ """Config flow for ista EcoTrend Version 3.""" + from __future__ import annotations import copy diff --git a/custom_components/ecotrend_ista/const.py b/custom_components/ecotrend_ista/const.py index 088f9f4..2eb4ae2 100644 --- a/custom_components/ecotrend_ista/const.py +++ b/custom_components/ecotrend_ista/const.py @@ -1,4 +1,5 @@ """Const for ista EcoTrend Version 3.""" + from __future__ import annotations from typing import Final diff --git a/custom_components/ecotrend_ista/const_schema.py b/custom_components/ecotrend_ista/const_schema.py index b05be68..b487570 100644 --- a/custom_components/ecotrend_ista/const_schema.py +++ b/custom_components/ecotrend_ista/const_schema.py @@ -1,4 +1,5 @@ """Const schema for ista EcoTrend Version 3.""" + from __future__ import annotations import voluptuous as vol diff --git a/custom_components/ecotrend_ista/coordinator.py b/custom_components/ecotrend_ista/coordinator.py index 5d2238a..ce49f68 100644 --- a/custom_components/ecotrend_ista/coordinator.py +++ b/custom_components/ecotrend_ista/coordinator.py @@ -1,4 +1,5 @@ """Coordinator for ista EcoTrend Version 3.""" + from __future__ import annotations import datetime diff --git a/custom_components/ecotrend_ista/diagnostics.py b/custom_components/ecotrend_ista/diagnostics.py index 89f61c7..f20fc90 100644 --- a/custom_components/ecotrend_ista/diagnostics.py +++ b/custom_components/ecotrend_ista/diagnostics.py @@ -1,4 +1,5 @@ """Diagnostics support for YouTube.""" + from __future__ import annotations from typing import Any diff --git a/custom_components/ecotrend_ista/entity.py b/custom_components/ecotrend_ista/entity.py index 65c682b..c80786d 100644 --- a/custom_components/ecotrend_ista/entity.py +++ b/custom_components/ecotrend_ista/entity.py @@ -1,4 +1,5 @@ """Entity definitions for Ecotrend sensors.""" + from __future__ import annotations from dataclasses import dataclass diff --git a/custom_components/ecotrend_ista/sensor.py b/custom_components/ecotrend_ista/sensor.py index f8c02e5..fe0c587 100644 --- a/custom_components/ecotrend_ista/sensor.py +++ b/custom_components/ecotrend_ista/sensor.py @@ -1,4 +1,5 @@ """Support for reading status from ecotren-ists.""" + from __future__ import annotations import datetime