cq: Scripts: Fix ruff errors

This commit is contained in:
Philipp Hörist
2025-01-26 23:19:59 +01:00
parent 1692ecda41
commit 6fe2da67c3
4 changed files with 10 additions and 7 deletions

View File

@@ -16,7 +16,7 @@ TRANSLATABLE_FILES = [
def template_is_equal(old_template_path: Path, new_template: str) -> bool:
with open(old_template_path, "r") as f:
with open(old_template_path) as f:
old_template = f.read()
pattern = r'"POT-Creation-Date: .*\n"'