Dev-iL opened a new pull request, #1489: URL: https://github.com/apache/hamilton/pull/1489
Following the approach from https://github.com/apache/airflow/pull/62073 and https://github.com/apache/airflow/pull/62145, files intended for LLM/agent consumption (not distributed in releases) now use a minimal SPDX license identifier instead of the full Apache 2.0 header - for LLM token efficiency. See also: https://lists.apache.org/thread/j1tn63r2lf13v3d1tnnqff8fkcl4nx53 ## Changes - Mark the `.github` folder as `export-ignore`. - Add a short and long license templates. - Add pre-commit hooks to ensure the right license header exists in every file. - Add missing license headers to two PR templates. ## How I tested this - Hooks pass locally. ## Notes ## Checklist - [x] PR has an informative and human-readable title (this will be pulled into the release notes) - [x] Changes are limited to a single goal (no scope creep) - [x] Code passed the pre-commit check & code is left cleaner/nicer than when first encountered. - [ ] Any _change_ in functionality is tested - [ ] New functions are documented (with a description, list of inputs, and expected output) - [ ] Placeholder code is flagged / future TODOs are captured in comments - [ ] Project documentation has been updated if adding/changing functionality. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
