diff --git a/check_source/check_mypy.py b/check_source/check_mypy.py index 92a6bea0da1894b9ad6ea14973e4dbea0258b07d..ddca6e25a4737f9e90348b711ae83582ed8fa76e 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 85a6063a8ba65dda6c3a6e5c31f80d91797bac7f..71c9c931434c676a52311416a827b27d430de53c 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",