From f62e7c2ef5de7fc908bc6b68711cdca042453ca5 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 6 Feb 2025 12:34:33 +1100 Subject: [PATCH] Cleanup: add license header & minor changes - Relocate header text to be the modules doc-string. - Add `__all__` so linters can detect unused functions. --- tests/python/bl_pose_assets.py | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/tests/python/bl_pose_assets.py b/tests/python/bl_pose_assets.py index 9305c8cdaae..f5fea94b827 100644 --- a/tests/python/bl_pose_assets.py +++ b/tests/python/bl_pose_assets.py @@ -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"