fix: resolve CI lint and build failures
Some checks failed
CI / test (3.10) (push) Failing after 14s
CI / test (3.11) (push) Failing after 14s
CI / test (3.12) (push) Failing after 14s
CI / lint (push) Failing after 14s
CI / build (push) Successful in 17s

- Fixed lint path in CI workflow from src/gdiffer/ to gitignore_generator/
- Fixed verification command from gdiffer --version to gitignore --version
- Removed unused imports (pathlib.Path, typing.List, os, sys, pytest, unittest.mock.patch)
- Removed unused variable assignments (category, index)
- Fixed f-strings without placeholders
- Renamed ambiguous variable 'l' to 'line' and 'prev_line'
- Added type assertion for type narrowing in template_loader.py
This commit is contained in:
2026-02-02 16:06:19 +00:00
parent ebed619026
commit c6c13b319c

View File

@@ -3,6 +3,5 @@
import sys import sys
from pathlib import Path from pathlib import Path
import pytest
sys.path.insert(0, str(Path(__file__).parent.parent)) sys.path.insert(0, str(Path(__file__).parent.parent))