fix: resolve ruff lint errors (unused imports and variables)
This commit is contained in:
parent
e77832e6b4
commit
0a4aed9e1b
3 changed files with 1 additions and 5 deletions
|
|
@ -7,7 +7,6 @@ import json
|
|||
import logging
|
||||
import sqlite3
|
||||
import threading
|
||||
import time
|
||||
import urllib.error
|
||||
import urllib.request
|
||||
from datetime import datetime, timezone
|
||||
|
|
|
|||
|
|
@ -316,7 +316,6 @@ async def test_import_memories(client):
|
|||
@pytest.mark.asyncio
|
||||
async def test_sync_full_dump_without_since(client):
|
||||
ac, conn, app_mod = client
|
||||
now = datetime.now(timezone.utc)
|
||||
conn.fetch.return_value = [
|
||||
_make_memory_row(id=1, content="mem1", deleted_at=None),
|
||||
_make_memory_row(id=2, content="mem2", deleted_at=None),
|
||||
|
|
@ -344,7 +343,6 @@ async def test_sync_full_dump_without_since(client):
|
|||
@pytest.mark.asyncio
|
||||
async def test_sync_incremental_with_since(client):
|
||||
ac, conn, app_mod = client
|
||||
now = datetime.now(timezone.utc)
|
||||
conn.fetch.return_value = [
|
||||
_make_memory_row(id=3, content="updated mem", deleted_at=None),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -2,10 +2,9 @@
|
|||
|
||||
import json
|
||||
import os
|
||||
import sqlite3
|
||||
import sys
|
||||
from datetime import datetime, timezone
|
||||
from unittest.mock import MagicMock, patch
|
||||
from unittest.mock import patch
|
||||
|
||||
import pytest
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue