1
0
Fork 0

Adding upstream version 4.6.0+dfsg.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-04-21 10:42:01 +02:00
parent f3ad83a1a5
commit 167a3f8553
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
275 changed files with 30423 additions and 0 deletions

21
hooks/post-commit.py Executable file
View file

@ -0,0 +1,21 @@
#!/usr/bin/env python
from pathlib import Path
try:
from commitizen.cz.utils import get_backup_file_path
except ImportError as error:
print(f"could not import commitizen:\n{error}")
exit(1)
def post_commit() -> None:
backup_file = Path(get_backup_file_path())
# remove backup file if it exists
if backup_file.is_file():
backup_file.unlink()
if __name__ == "__main__":
post_commit()
exit(0)