Skip to content

Commit

Permalink
mypy hints
Browse files Browse the repository at this point in the history
  • Loading branch information
zxdavb committed Jun 26, 2024
1 parent be12a3b commit 9e5cd09
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion custom_components/ramses_cc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from dataclasses import dataclass
from typing import TYPE_CHECKING, Any, Final

import voluptuous as vol # type: ignore[import-untyped]
import voluptuous as vol # type: ignore[import-untyped, unused-ignore]
from homeassistant import config_entries
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import ATTR_ID, Platform
Expand Down
2 changes: 1 addition & 1 deletion custom_components/ramses_cc/broker.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from threading import Semaphore
from typing import TYPE_CHECKING, Any, Final

import voluptuous as vol # type: ignore[import-untyped]
import voluptuous as vol # type: ignore[import-untyped, unused-ignore]
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import CONF_SCAN_INTERVAL, Platform
from homeassistant.core import HomeAssistant, ServiceCall
Expand Down
2 changes: 1 addition & 1 deletion custom_components/ramses_cc/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from homeassistant.data_entry_flow import FlowHandler, FlowResult
from homeassistant.helpers import config_validation as cv, selector
from homeassistant.helpers.storage import Store
from serial.tools import list_ports # type: ignore[import-untyped]
from serial.tools import list_ports # type: ignore[import-untyped, unused-ignore]

from ramses_rf.schemas import (
SCH_GATEWAY_DICT,
Expand Down
2 changes: 1 addition & 1 deletion custom_components/ramses_cc/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from datetime import timedelta
from typing import Any, Final, TypeAlias

import voluptuous as vol # type: ignore[import-untyped]
import voluptuous as vol # type: ignore[import-untyped, unused-ignore]
from homeassistant.const import CONF_SCAN_INTERVAL
from homeassistant.helpers import config_validation as cv

Expand Down

0 comments on commit 9e5cd09

Please sign in to comment.