summaryrefslogtreecommitdiff
path: root/tbump.toml
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2021-06-15 13:02:57 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-06-16 06:57:01 +0200
commit4190036453d0e430d84cd1f6129491a953b7d300 (patch)
tree145f0baff74f7ceef67e17c20268a75c36a351ac /tbump.toml
parentdabd881e4817fae130aa8e485ec62db27136e197 (diff)
downloadastroid-git-4190036453d0e430d84cd1f6129491a953b7d300.tar.gz
Apply pre-commit to cleanup the result of copyrite
Diffstat (limited to 'tbump.toml')
-rw-r--r--tbump.toml4
1 files changed, 4 insertions, 0 deletions
diff --git a/tbump.toml b/tbump.toml
index 180d19a8..d712ebaa 100644
--- a/tbump.toml
+++ b/tbump.toml
@@ -32,6 +32,10 @@ cmd = "python3 script/bump_changelog.py {new_version}"
name = "Upgrade copyrights"
cmd = "pip3 install copyrite;copyrite --contribution-threshold 1 --change-threshold 3 --backend-type git --aliases=.copyrite_aliases . --jobs=8"
+[[before_commit]]
+name = "Apply pre-commit"
+cmd = "pre-commit run --all-files"
+
# Or run some commands after the git tag and the branch
# have been pushed:
# [[after_push]]