From e641b8044852a8afcb42e52ba74d220368e60d2f Mon Sep 17 00:00:00 2001 From: MSL Date: Fri, 10 Apr 2026 08:31:56 -0700 Subject: [PATCH] style: ruff check --fix Co-Authored-By: Claude Opus 4.6 (1M context) --- mempalace/dedup.py | 4 ++-- mempalace/repair.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mempalace/dedup.py b/mempalace/dedup.py index 345a2aa..99b386f 100644 --- a/mempalace/dedup.py +++ b/mempalace/dedup.py @@ -126,7 +126,7 @@ def show_stats(palace_path=None): print(f"\n Sources with {MIN_DRAWERS_TO_CHECK}+ drawers: {len(groups)}") print(f" Total drawers in those sources: {total_drawers:,}") - print(f"\n Top 15 by drawer count:") + print("\n Top 15 by drawer count:") sorted_groups = sorted(groups.items(), key=lambda x: len(x[1]), reverse=True) for src, ids in sorted_groups[:15]: print(f" {len(ids):4d} {src[:65]}") @@ -192,7 +192,7 @@ def dedup_palace( print(f" Palace after: {col.count():,} drawers") if dry_run: - print(f"\n [DRY RUN] No changes written. Re-run without --dry-run to apply.") + print("\n [DRY RUN] No changes written. Re-run without --dry-run to apply.") print(f"{'=' * 55}\n") diff --git a/mempalace/repair.py b/mempalace/repair.py index 0a6852a..150c4ec 100644 --- a/mempalace/repair.py +++ b/mempalace/repair.py @@ -280,7 +280,7 @@ def rebuild_index(palace_path=None): print(f" Re-filed {filed}/{len(all_ids)} drawers...") print(f"\n Repair complete. {filed} drawers rebuilt.") - print(f" HNSW index is now clean with cosine distance metric.") + print(" HNSW index is now clean with cosine distance metric.") print(f"\n{'=' * 55}\n")