Cleanup: add license header & minor changes

- Relocate header text to be the modules doc-string.
- Add `__all__` so linters can detect unused functions.
This commit is contained in:
Campbell Barton
2025-02-06 12:34:33 +11:00
parent b39c637d63
commit f62e7c2ef5

View File

@@ -1,3 +1,15 @@
# SPDX-FileCopyrightText: 2025 Blender Authors
#
# SPDX-License-Identifier: GPL-2.0-or-later
"""
blender -b --factory-startup --python tests/python/bl_pose_assets.py -- --testdir /path/to/tests/data/animation
"""
__all__ = (
"main",
)
import unittest
import bpy
import pathlib
@@ -5,9 +17,6 @@ import sys
import tempfile
import os
"""
blender -b --factory-startup --python tests/python/bl_pose_assets.py -- --testdir /path/to/tests/data/animation
"""
_BONE_NAME_1 = "bone"
_BONE_NAME_2 = "bone_2"