chore: Polishing the license headers work (#860)

* feat(tool): Adding license header check and apply tool

* Update docs/LICENSE_HEADERS.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update scripts/license_header.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* chore: Polishing the license headers work

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Willem Jiang
2026-02-14 16:24:44 +08:00
committed by GitHub
parent 13a25112b1
commit 06248fa6f1
3 changed files with 12 additions and 13 deletions

View File

@@ -209,7 +209,7 @@ def main():
print(f"\n{len(missing_header)} file(s) missing license header:")
for path in missing_header:
print(f" - {path}")
print("\nRun 'make add-license' to add headers.")
print("\nRun 'make add-license-all' to add headers.")
return 1
else:
print(f"✅ All {len(all_files)} source file(s) have license headers.")