From 128470125346696f3e056ecabe3a3cbeb8b0111a Mon Sep 17 00:00:00 2001 From: Mark Paronyan Date: Mon, 28 Sep 2026 04:58:21 +0000 Subject: [PATCH] fix(typing): resolve mypy errors in utils.zipfile_zstd._patcher --- gns3server/utils/zipfile_zstd/_patcher.py | 3 ++- pyproject.toml | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gns3server/utils/zipfile_zstd/_patcher.py b/gns3server/utils/zipfile_zstd/_patcher.py index ee2d19812..fc97d3645 100644 --- a/gns3server/utils/zipfile_zstd/_patcher.py +++ b/gns3server/utils/zipfile_zstd/_patcher.py @@ -1,8 +1,9 @@ import functools +from typing import Any class patch: - originals = {} + originals: dict[str, Any] = {} def __init__(self, host, name): self.host = host diff --git a/pyproject.toml b/pyproject.toml index d40ba58b3..01aaf9959 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -401,6 +401,5 @@ module = [ "gns3server.utils.encryption", # 2 "gns3server.utils.images", # 4 "gns3server.utils.packet_filter_validation", # 16 - "gns3server.utils.zipfile_zstd._patcher", # 1 ] ignore_errors = true