bfiles
2026-01-09
Add SPDX license header management scripts
2 files · 316+
SPDX Header Scripts
2 files changed
add_spdx_headers.pyAutomatically adds SPDX-FileCopyrightText and SPDX-License-Identifier headers to Python source files (212 lines)validate_spdx_headers.pyValidates that all Python files have proper SPDX license headers, suitable for CI enforcement (104 lines)
- Added
scripts/add_spdx_headers.py(212 lines) — script to automatically add SPDX-FileCopyrightText and SPDX-License-Identifier headers to Python source files instantiate internal1 file
add_spdx_headers.py
- Added
scripts/validate_spdx_headers.py(104 lines) — script to validate that all Python files have proper SPDX license headers, suitable for CI enforcement baseline internal1 file
validate_spdx_headers.py