diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index bc695d8cfa1c75b44d8e15cc09df5fa524aef921..279475cee29df1088b07f5447ae3db0c6d5e894e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -25,6 +25,10 @@ poetry run black duniterpy/file.py With `pre-commit`, Black is called on staged files, so the commit should fail in case black would make changes. You will have to add Black changes in order to commit your changes. +### Update copyright year +Follow [this documentation](https://github.com/Lucas-C/pre-commit-hooks#removing-old-license-and-replacing-it-with-a-new-one) +Only difference is to update the year in `license_header.txt` rather than `LICENSE.txt`. + ## Release workflow To handle a release, you have to respect this workflow: