fix: resolve 57 ruff lint errors (unused imports, unused variables, import placement)
CI / lint (push) Failing after 14s
CI / test (push) Has been skipped
CI / build (push) Has been skipped
CI / security (push) Successful in 11s

This commit is contained in:
2026-06-04 23:32:47 -04:00
parent 182e40800e
commit 3b53de1b33
14 changed files with 12 additions and 54 deletions
+3 -2
View File
@@ -9,7 +9,8 @@ import pytest
@pytest.fixture
def auth_client():
"""Create a TestClient with auth enabled, isolated temp data."""
import tempfile, shutil
import tempfile
import shutil
from pathlib import Path
tmp = Path(tempfile.mkdtemp())
@@ -58,7 +59,7 @@ def auth_client():
backend.main._load_config = lambda: {"watcher_enabled": False}
from backend.main import app
from backend.indexer import build_index, vault_config, index
from backend.indexer import build_index, index
import asyncio
for key in list(index.keys()):