provide-testkit 2026-01-09
Add SPDX header management scripts
2 files · 316+

SPDX header tooling

2 files changed
  • add_spdx_headers.py New 212-line script that adds SPDX-FileCopyrightText and SPDX-License-Identifier headers to Python files, handling shebangs, existing headers, excluded patterns, and syntax validation
  • validate_spdx_headers.py New 104-line validation script that checks all Python files for SPDX headers, returning exit code 1 if any are missing
  • Created SPDX header management scripts for adding and validating Apache-2.0 license headers across all Python source files instantiate internal
    2 files
    • add_spdx_headers.py
    • validate_spdx_headers.py