fix: resolve CI lint and build failures
- 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:
@@ -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))
|
||||||
|
|||||||
Reference in New Issue
Block a user