Black formatting

This commit is contained in:
2025-11-13 16:25:10 +00:00
parent 80129d6bc5
commit 0fe9045f54
2 changed files with 21 additions and 6 deletions

View File

@@ -24,7 +24,9 @@ def write_file(path: Path, content: str):
path.write_text(content, encoding="utf-8")
def backup_original(original_path: Path, original_content: str, backup_dir: Path) -> Path:
def backup_original(
original_path: Path, original_content: str, backup_dir: Path
) -> Path:
backup_dir.mkdir(parents=True, exist_ok=True)
timestamp = time.strftime("%Y-%m-%d %H:%M:%S UTC", time.gmtime())
shortstamp = time.strftime("%Y%m%dT%H%M%S", time.gmtime())