From a9d93dcdf39bf48b891e3202cd44ac239e787af0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 12 Oct 2023 09:14:14 -1000 Subject: [PATCH] Bump mypy from 1.5.1 to 1.6.0 (#563) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: J. Nick Koston --- aioesphomeapi/_frame_helper/noise.py | 8 +++++--- requirements_test.txt | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/aioesphomeapi/_frame_helper/noise.py b/aioesphomeapi/_frame_helper/noise.py index c9a56bd..64bd41e 100644 --- a/aioesphomeapi/_frame_helper/noise.py +++ b/aioesphomeapi/_frame_helper/noise.py @@ -9,9 +9,11 @@ from typing import TYPE_CHECKING, Any, Callable from chacha20poly1305_reuseable import ChaCha20Poly1305Reusable from cryptography.exceptions import InvalidTag -from noise.backends.default import DefaultNoiseBackend # type: ignore[import] -from noise.backends.default.ciphers import ChaCha20Cipher # type: ignore[import] -from noise.connection import NoiseConnection # type: ignore[import] +from noise.backends.default import DefaultNoiseBackend # type: ignore[import-untyped] +from noise.backends.default.ciphers import ( # type: ignore[import-untyped] + ChaCha20Cipher, +) +from noise.connection import NoiseConnection # type: ignore[import-untyped] from ..core import ( APIConnectionError, diff --git a/requirements_test.txt b/requirements_test.txt index 5dc3d5b..9cd3229 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -2,7 +2,7 @@ pylint==2.17.7 black==23.9.1 flake8==6.1.0 isort==5.12.0 -mypy==1.5.1 +mypy==1.6.0 types-protobuf==4.24.0.2 pytest>=6.2.4,<8 pytest-asyncio>=0.15.1,<1