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 -4
View File
@@ -2,6 +2,7 @@
import asyncio
import os
from pathlib import Path
import tempfile
from unittest.mock import MagicMock, patch, AsyncMock
import pytest
@@ -140,7 +141,8 @@ class TestVaultWatcher:
class TestOnVaultChange:
@pytest.fixture
def setup_vault(self):
import tempfile, shutil
import tempfile
import shutil
from pathlib import Path
from backend.indexer import build_index, index
import asyncio
@@ -181,6 +183,3 @@ class TestOnVaultChange:
}]
asyncio.run(_on_vault_change(events))
# Should not crash
import tempfile