From a426587d35d640b7f4e37ea157a744b24bc5f409 Mon Sep 17 00:00:00 2001 From: mvalentsev Date: Thu, 16 Apr 2026 02:26:40 +0500 Subject: [PATCH] style: apply ruff format to print statements --- mempalace/convo_miner.py | 6 ++++-- mempalace/miner.py | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/mempalace/convo_miner.py b/mempalace/convo_miner.py index 20ba1c2..e2be2f1 100644 --- a/mempalace/convo_miner.py +++ b/mempalace/convo_miner.py @@ -400,8 +400,10 @@ def scan_convos(convo_dir: str) -> list: try: file_size = filepath.stat().st_size if file_size > MAX_FILE_SIZE: - print(f" SKIP: {filepath.name} ({file_size / (1024 * 1024):.1f} MB)" - f" exceeds {MAX_FILE_SIZE // (1024 * 1024)} MB limit") + print( + f" SKIP: {filepath.name} ({file_size / (1024 * 1024):.1f} MB)" + f" exceeds {MAX_FILE_SIZE // (1024 * 1024)} MB limit" + ) continue except OSError: continue diff --git a/mempalace/miner.py b/mempalace/miner.py index d8022fd..50b8521 100644 --- a/mempalace/miner.py +++ b/mempalace/miner.py @@ -1593,8 +1593,10 @@ def scan_project( try: file_size = filepath.stat().st_size if file_size > MAX_FILE_SIZE: - print(f" SKIP: {filepath.name} ({file_size / (1024 * 1024):.1f} MB)" - f" exceeds {MAX_FILE_SIZE // (1024 * 1024)} MB limit") + print( + f" SKIP: {filepath.name} ({file_size / (1024 * 1024):.1f} MB)" + f" exceeds {MAX_FILE_SIZE // (1024 * 1024)} MB limit" + ) continue except OSError: continue