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.pyAdded 212-line script for automatic SPDX license header insertionvalidate_spdx_headers.pyAdded 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__.pyUpdated SPDX headercli.pyUpdated SPDX headerstate.pyUpdated SPDX headerdiscovery.pyUpdated SPDX headerconftest.pyUpdated 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__.pycli.pycli.py__init__.py__init__.py__init__.py__init__.py__init__.py__init__.py__init__.py__init__.py__init__.py__init__.pyconftest.py