From e50420f9183335683f5356135d38fb035b4215d1 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 6 Mar 2025 11:13:09 +1100 Subject: [PATCH] Cleanup: resolve mypy warning --- build_files/utils/make_source_archive.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build_files/utils/make_source_archive.py b/build_files/utils/make_source_archive.py index 6eb2b060aaf..2fcd8dce267 100755 --- a/build_files/utils/make_source_archive.py +++ b/build_files/utils/make_source_archive.py @@ -17,6 +17,7 @@ from pathlib import Path from typing import ( TextIO, Any, + Tuple, Union, # Proxies for `collections.abc` Iterable, @@ -30,7 +31,7 @@ from typing import ( # Support for other platforms could be added by moving GNU `tar` & `md5sum` use to Python. # This also relies on having a Unix shell (sh) to run some git commands. -SKIP_NAMES = ( +SKIP_NAMES: Tuple[str, ...] = ( ".gitignore", ".gitmodules", ".gitattributes", @@ -39,7 +40,7 @@ SKIP_NAMES = ( ".svn", ) -SKIP_FOLDERS = ( +SKIP_FOLDERS: Tuple[str, ...] = ( "release/datafiles/assets/working", )