From f8bda65cabd4edec1c2f1457b5a99237148476d2 Mon Sep 17 00:00:00 2001 From: Mike Levin Date: Sat, 18 Apr 2026 05:12:11 -0400 Subject: [PATCH] Fixing indent error on edit --- foo_files.py | 6 +++--- prompt_foo.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/foo_files.py b/foo_files.py index f0d08b59..b7aaa98f 100644 --- a/foo_files.py +++ b/foo_files.py @@ -36,7 +36,7 @@ # # scripts/articles/lsa.py # [2,280 tokens | 10,180 bytes] # .gitignore # [573 tokens | 2,089 bytes] -prompt_foo.py # [12,990 tokens | 59,609 bytes] +# prompt_foo.py # [12,990 tokens | 59,609 bytes] foo_files.py # [10,245 tokens | 33,406 bytes] # AD HOC STUFF @@ -84,8 +84,8 @@ # pipulate/pipulate.py # [517 tokens | 2,309 bytes] # pipulate/core.py # [22,424 tokens | 108,599 bytes] # Notebooks/imports/core_sauce.py # [1,278 tokens | 5,505 bytes] -# Notebooks/Advanced_Notebooks/03_GAPalyzer.ipynb # [40,765 tokens | 130,859 bytes] -# Notebooks/imports/gap_analyzer_sauce.py # [26,361 tokens | 116,988 bytes] +Notebooks/Advanced_Notebooks/03_GAPalyzer.ipynb # [40,765 tokens | 130,859 bytes] +Notebooks/imports/gap_analyzer_sauce.py # [26,361 tokens | 116,988 bytes] Notebooks/Onboarding.ipynb # [2,935 tokens | 9,467 bytes] Notebooks/imports/onboard_sauce.py # [1,773 tokens | 7,952 bytes] # tools/__init__.py # [464 tokens | 2,067 bytes] diff --git a/prompt_foo.py b/prompt_foo.py index 425274e5..8406363c 100644 --- a/prompt_foo.py +++ b/prompt_foo.py @@ -1122,9 +1122,9 @@ def inject_file(match): ext = os.path.splitext(target_url.split('?')[0])[1].lower() lang_map = {'.py': 'python', '.js': 'javascript', '.html': 'html', '.css': 'css', '.md': 'markdown', '.json': 'json', '.nix': 'nix', '.sh': 'bash'} lang = lang_map.get(ext, 'text') - except UnicodeDecodeError: - content = f"# [Binary file or incompatible encoding omitted from text context: {os.path.basename(full_path)}]" - lang = "text" + except UnicodeDecodeError: + content = f"# [Binary file or incompatible encoding omitted from text context: {os.path.basename(full_path)}]" + lang = "text" processed_files_data.append({ "path": target_url, "comment": comment, "content": content, "tokens": count_tokens(content), "words": count_words(content), "lang": lang