reuse_shortcuts package
Reuse Shortcut Management
Shortcuts Management for reuse license utility
This script can be used to apply the licenses and default copyright holders to files in the repository.
It uses the short cuts from the .reuse/shortcuts.yaml file in the current
project root and adds them to the call of reuse annotate. Any command line
option however overwrites the config in shortcuts.yaml
Classes:
Shortcut to add a copyright statement |
Functions:
|
|
|
Load the |
- class reuse_shortcuts.LicenseShortCut
Bases:
TypedDictShortcut to add a copyright statement
Attributes:
The copyright statement
SPDX Identifier of the license
year of copyright statement
- reuse_shortcuts.add_annotate_arguments(command)
- reuse_shortcuts.load_shortcuts(project: Path) Dict[str, LicenseShortCut]
Load the
shortcuts.yamlfile.