From 988cee062e6e4fb8b6a9e4f9cf685a20abce3287 Mon Sep 17 00:00:00 2001 From: FriedrichFroebel Date: Wed, 24 Jul 2024 18:42:27 +0200 Subject: [PATCH] fix mypy for Python 3.13 --- brother_ql_web/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brother_ql_web/__init__.py b/brother_ql_web/__init__.py index de9521f..4cace1f 100644 --- a/brother_ql_web/__init__.py +++ b/brother_ql_web/__init__.py @@ -20,7 +20,7 @@ def warn(message: str, *args: Any, **kwargs: Any) -> None: return original_logger(message, *args, **kwargs) - logging.getLogger("brother_ql.devicedependent").warn = warn # type: ignore[assignment,method-assign] # noqa: E501 + logging.getLogger("brother_ql.devicedependent").warn = warn # type: ignore[assignment,method-assign,attr-defined] # noqa: E501 patch_deprecation_warning()