diff --git a/gitignore_generator/tests/test_template_loader.py b/gitignore_generator/tests/test_template_loader.py index 167a881..b1f6ab6 100644 --- a/gitignore_generator/tests/test_template_loader.py +++ b/gitignore_generator/tests/test_template_loader.py @@ -1,6 +1,5 @@ """Tests for template loader.""" -import os import tempfile from pathlib import Path @@ -107,6 +106,6 @@ class TestTemplateLoader: def test_duplicate_removal_in_merge(self, loader_with_templates): """Test that duplicates are removed when merging.""" merged = loader_with_templates.merge_templates(["python", "python"]) - lines = [l for l in merged.splitlines() if l.strip() and not l.strip().startswith("#")] + lines = [line for line in merged.splitlines() if line.strip() and not line.strip().startswith("#")] unique_lines = set(lines) assert len(lines) == len(unique_lines)