License headers: add SPDX header

Also include "addons_core" in license check.
This commit is contained in:
Campbell Barton
2024-06-07 12:09:58 +10:00
parent 715bbbfa0f
commit 98bb157ad9
3 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2024 Blender Foundation
#
# SPDX-License-Identifier: GPL-2.0-or-later
def register():

View File

@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Blender Foundation
#
# SPDX-License-Identifier: GPL-2.0-or-later
# This is a data file that is evaluated directly (not imported).
# NOTE: this can be removed once upgrading from 4.1 is no longer relevant.
{

View File

@@ -540,7 +540,6 @@ def main() -> None:
"./lib",
# Just data.
"./doc/python_api/examples",
"./scripts/addons_core",
"./scripts/presets",
"./scripts/templates_py",