diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2022-03-12 08:45:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-12 08:45:17 +0100 |
commit | 1622459e37ed5c908dc602bb4c77b8e7191a8bbe (patch) | |
tree | 535ce98f4dcab1de74bd7e9d3af0757ec53d2cd1 /tbump.toml | |
parent | e346d42e92499849eb5d75ca27a648e1ce411ec7 (diff) | |
download | astroid-git-1622459e37ed5c908dc602bb4c77b8e7191a8bbe.tar.gz |
Simplify hard to maintain copyright notice (#1441)
* Simplify hard to maintain copyright notice
git is the source of truth for the copyright, copyrite (the tool)
was taking exponentially longer with each release, and it's
polluting the code with sometime as much as 50 lines of names.
* Add a pre-commit hook to check the copyright notice
* Fix the existing file so they have a notice
* Fix the spacing after the copyright notice
* Add a script to generate the CONTRIBUTORS.txt
Co-authored-by: Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>
Diffstat (limited to 'tbump.toml')
-rw-r--r-- | tbump.toml | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -29,8 +29,8 @@ name = "Upgrade changelog changelog" cmd = "python3 script/bump_changelog.py {new_version}" [[before_commit]] -name = "Upgrade copyrights" -cmd = "pip3 install copyrite;copyrite --contribution-threshold 1 --change-threshold 3 --backend-type git --aliases=.copyrite_aliases . --jobs=8" +name = "Upgrade the contributors list" +cmd = "python3 script/create_contributor_list.py" [[before_commit]] name = "Apply pre-commit" |