Fix pyproject group for dev-dependencies, remove .bak from backed up file

This commit is contained in:
2025-11-16 09:40:26 +00:00
parent 27b9039ddd
commit a068c0a5bd
3 changed files with 3 additions and 3 deletions

View File

@@ -31,7 +31,7 @@ def backup_original(
timestamp = time.strftime("%Y-%m-%d %H:%M:%S UTC", time.gmtime())
shortstamp = time.strftime("%Y%m%dT%H%M%S", time.gmtime())
backup_name = f"{original_path.name}.orig.{shortstamp}.bak"
backup_name = f"{original_path.name}.orig.{shortstamp}"
backup_path = backup_dir / backup_name
header = (