tofusoup 2026-01-09
Add SPDX license header scripts and apply headers across the codebase
97 files · 411+ · 95-

Add SPDX license header management scripts

2 files changed
  • add_spdx_headers.py Added 212-line script for automatic SPDX license header insertion
  • validate_spdx_headers.py Added 104-line script for SPDX header validation
  • Added add_spdx_headers.py (212 lines) implementing automatic SPDX license header insertion for Python source files, supporting various file types and preserving existing headers instantiate behavioral
    1 file
    • add_spdx_headers.py
  • Added validate_spdx_headers.py (104 lines) implementing validation that all source files contain proper SPDX license identifiers, suitable for CI enforcement instantiate behavioral
    1 file
    • validate_spdx_headers.py

Apply SPDX headers to all source and test files

5 files changed
  • __init__.py Updated SPDX header
  • cli.py Updated SPDX header
  • state.py Updated SPDX header
  • discovery.py Updated SPDX header
  • conftest.py Updated SPDX header
  • Applied SPDX license headers to 95 Python files across src/tofusoup/ and tests/, updating a single copyright line in each file qualify internal
    15 files
    • __init__.py
    • __init__.py
    • cli.py
    • cli.py
    • __init__.py
    • __init__.py
    • __init__.py
    • __init__.py
    • __init__.py
    • __init__.py
    • __init__.py
    • __init__.py
    • __init__.py
    • __init__.py
    • conftest.py