You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Is there a way of defining a string in the hooks args instead of --license-filepath #81
does not work for me as my LICENSE 600+ lines long and I don't want to add a txt file to the repo simply for this. Is there a way of specifying a string to be inserted? Something like
Activity
Lucas-C commentedon Aug 11, 2023
Hi @mikel-brostrom
No, currently this hook does not offer such feature,
but you are welcome to contribute such new option
through a Pull Request with some unit tests 😊
peterjc commentedon Aug 29, 2024
See https://github.com/johannsdg/pre-commit-license-headers for an example with a multi-line license defined in the pre-commit YAML file.