From f1db70de64574921180b2c99519027d44d5350fc Mon Sep 17 00:00:00 2001 From: Campbell Barton <ideasman42@gmail.com> Date: Wed, 14 Apr 2021 11:53:04 +1000 Subject: [PATCH] check_mypy: include make_source_archive.py --- check_source/check_mypy.py | 3 +-- check_source/check_mypy_config.py | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/check_source/check_mypy.py b/check_source/check_mypy.py index 92a6bea..ddca6e2 100755 --- a/check_source/check_mypy.py +++ b/check_source/check_mypy.py @@ -83,8 +83,7 @@ def main() -> None: if not extra_env: extra_env = {} - # print(f) - print(repr(f[len('/src/blender/'):]) + ',') + print(f) cmd = ( "mypy", "--strict", diff --git a/check_source/check_mypy_config.py b/check_source/check_mypy_config.py index 85a6063..71c9c93 100644 --- a/check_source/check_mypy_config.py +++ b/check_source/check_mypy_config.py @@ -8,6 +8,7 @@ from typing import ( PATHS: Tuple[Tuple[str, Tuple[Any, ...], Dict[str, str]], ...] = ( ("build_files/cmake/", (), {'MYPYPATH': "modules"}), + ("build_files/utils/", (), {'MYPYPATH': "modules"}), ("doc/manpage/blender.1.py", (), {}), ("source/tools/check_source/", (), {'MYPYPATH': "modules"}), ("source/tools/utils_maintenance/", (), {'MYPYPATH': "modules"}), @@ -27,6 +28,9 @@ BLACKLIST = set( "build_files/cmake/cmake_static_check_smatch.py", "build_files/cmake/cmake_static_check_sparse.py", "build_files/cmake/cmake_static_check_splint.py", + "build_files/utils/make_test.py", + "build_files/utils/make_update.py", + "build_files/utils/make_utils.py", "source/tools/check_source/check_descriptions.py", "source/tools/check_source/check_header_duplicate.py", "source/tools/check_source/check_spelling.py", -- GitLab