From d24720e8e8fadd79fb32250ecfc18a148c7ce05f Mon Sep 17 00:00:00 2001 From: ginnoir Date: Sat, 31 Oct 2026 03:12:35 -0500 Subject: [PATCH] chore: ignore Python bytecode at any depth The rule only covered scripts/__pycache__/, so the caches for the update_swarm package and its tests (scripts/update_swarm/__pycache__/, tests/update_swarm/__pycache__/) were never ignored and showed up as untracked noise on every status check. Replaced with a depth-independent __pycache__/ plus *.py[cod]. Verified no bytecode was already tracked, so nothing becomes silently ignored. Co-Authored-By: Claude Opus 5 --- .gitignore | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index d60d06e..e86fcb6 100644 --- a/.gitignore +++ b/.gitignore @@ -21,7 +21,12 @@ Thumbs.db # scratch; the canonical synthesis lands in the Obsidian vault notes). .scrape/ .scrape_lib/ -scripts/__pycache__/ + +# Python bytecode, at any depth — scripts/, scripts/update_swarm/, tests/update_swarm/. +# The old rule only covered scripts/__pycache__/, so the package + test caches kept +# showing up as untracked noise. +__pycache__/ +*.py[cod] # Per-machine ROM compare/patch scratch (side-by-side emulator runs, patch builds). .compare/