Solved ruff E741

This commit is contained in:
2025-12-17 13:54:51 +01:00
parent 14a0268ec3
commit 73f7c00acd
2 changed files with 2 additions and 2 deletions

View File

@@ -88,7 +88,7 @@ def render_templates(src_dir, dst_dir, context):
with open(dst_file) as f_old:
old_lines = f_old.readlines()
new_lines = rendered.splitlines(keepends=True)
additions = [l for l in new_lines if l not in old_lines]
additions = [line for line in new_lines if line not in old_lines]
if additions:
with open(dst_file, 'a') as f:
f.writelines(additions)