diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a958f21..fe5a193 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,17 +1,17 @@ repos: - repo: https://github.com/psf/black - rev: 23.10.1 + rev: 24.3.0 hooks: - id: black - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.3 + rev: v0.3.5 hooks: - id: ruff args: ["--fix"] - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.6.1" + rev: "v1.9.0" hooks: - id: mypy additional_dependencies: diff --git a/custom_components/vantage/config_flow.py b/custom_components/vantage/config_flow.py index c7474a9..7a5a85e 100644 --- a/custom_components/vantage/config_flow.py +++ b/custom_components/vantage/config_flow.py @@ -1,4 +1,5 @@ """Config flow for Vantage InFusion Controller integration.""" + from typing import Any from aiovantage.discovery import ( diff --git a/custom_components/vantage/const.py b/custom_components/vantage/const.py index 31cb53a..0fe64e4 100644 --- a/custom_components/vantage/const.py +++ b/custom_components/vantage/const.py @@ -1,4 +1,5 @@ """Constants for the Vantage InFusion Controller integration.""" + import logging # Logging diff --git a/custom_components/vantage/services.py b/custom_components/vantage/services.py index 0f89461..3cdecb3 100644 --- a/custom_components/vantage/services.py +++ b/custom_components/vantage/services.py @@ -1,6 +1,5 @@ """Handle Vantage service calls.""" - from aiovantage import Vantage from aiovantage.models import Task import voluptuous as vol