-
Notifications
You must be signed in to change notification settings - Fork 451
Open
Description
Rewrite the check_copyright.sh
script:
- rewrite it in python so that it's more maintainable
- extensions to check: let's keep the existing check for "py|sh|ts"
- dirs to check: python/, rust/, js/. Do not scan tests_data
- it should print which file doesn't have a valid copyright. And exit with 1 if at least one file has no banner.
- should be useable like:
uv run check_copyright.sh check
(note thecheck
command)
Later on:
- we will include this in one of the workflows so that we can for this automatically
- we will extend it to have
update
oradd
(or something similar) to update/add copyright banner when missing
Metadata
Metadata
Assignees
Labels
No labels