Cleanup: declare __all__ for some scripts in build_files/

This commit is contained in:
Campbell Barton
2025-01-04 20:37:46 +11:00
parent 6216e8574c
commit 3091dadfeb
3 changed files with 26 additions and 0 deletions

View File

@@ -3,6 +3,10 @@
#
# SPDX-License-Identifier: GPL-2.0-or-later
__all__ = (
"main",
)
import argparse
import make_utils
import os

View File

@@ -21,6 +21,11 @@ Some type annotations are quoted to avoid errors in older Python versions.
These can be unquoted eventually.
"""
__all__ = (
"main",
)
import argparse
import os
import platform

View File

@@ -17,6 +17,23 @@ Some type annotations are quoted to avoid errors in older Python versions.
These can be unquoted eventually.
"""
__all__ = (
"call",
"check_output",
"command_missing",
"git_branch",
"git_branch_exists",
"git_enable_submodule",
"git_get_remote_url",
"git_is_remote_repository",
"git_remote_exist",
"git_set_config",
"git_update_submodule",
"is_git_submodule_enabled",
"parse_blender_version",
"remove_directory",
)
import re
import os
import shutil