From bc4d02c2d38f3d28a0f7535ad65fb39d5ed65597 Mon Sep 17 00:00:00 2001 From: Andy Lee Date: Wed, 17 Sep 2025 16:18:48 -0700 Subject: [PATCH] chore: fix ruff warnings (RUF059, F401) --- apps/history_data/history.py | 2 +- packages/leann-core/src/leann/cli.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/history_data/history.py b/apps/history_data/history.py index bb2eac1..f7e23c7 100644 --- a/apps/history_data/history.py +++ b/apps/history_data/history.py @@ -74,7 +74,7 @@ class ChromeHistoryReader(BaseReader): if count >= max_count and max_count > 0: break - last_visit, url, title, visit_count, typed_count, hidden = row + last_visit, url, title, visit_count, typed_count, _hidden = row # Create document content with metadata embedded in text doc_content = f""" diff --git a/packages/leann-core/src/leann/cli.py b/packages/leann-core/src/leann/cli.py index e9c3e50..2d514e2 100644 --- a/packages/leann-core/src/leann/cli.py +++ b/packages/leann-core/src/leann/cli.py @@ -1,6 +1,5 @@ import argparse import asyncio -import sys from pathlib import Path from typing import Any, Optional, Union