Add or replace license/copyright boilerplate in source code files.
- Add multiple source code directories.
- Autodetect file type and update with proper format.
- Custom configuration for more file types and copyright formats.
- Python 2 and 3 supported.
Configure rule.yaml
first. And then
python copyright.py -c rule.yaml
If your copyright/license comment adheres to your other comments without any blank lines, your comment will be erased. So leave a blank line between your copyright/license and other comments.
Copyright Updater is released under the MIT License.