Skip to content

Commit

Permalink
Adapt to mypy 1.6.1 (#267)
Browse files Browse the repository at this point in the history
* Adapt to mypy 1.6.1

* Bump mypy

* Correct mypy error overrides
  • Loading branch information
emontnemery authored Nov 5, 2023
1 parent 27b2d90 commit 8a19e8d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hatasmota/config_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from typing import Any, TypeVar

import voluptuous as vol # type:ignore[import]
import voluptuous as vol # type:ignore[import-untyped]

# typing typevar
T = TypeVar("T") # pylint: disable=invalid-name
Expand Down
2 changes: 1 addition & 1 deletion hatasmota/discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import json
import logging

import voluptuous as vol # type:ignore[import]
import voluptuous as vol # type:ignore[import-untyped]

from . import config_validation as cv
from .button import TasmotaButtonTrigger, TasmotaButtonTriggerConfig
Expand Down
2 changes: 1 addition & 1 deletion requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ flake8==6.1.0
pylint==3.0.2
black==23.10.1
isort==5.12.0
mypy==1.5.1
mypy==1.6.1
pydantic==2.4.2

0 comments on commit 8a19e8d

Please sign in to comment.