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 <noreply@anthropic.com>
This commit is contained in:
ginnoirandClaude Opus 5 committed 2026-10-31 03:12:35 -05:00
1 parent 741e42001d
commit d24720e8e8
1 file changed
+6 -1
+6 -1
View File
@@ -21,7 +21,12 @@ Thumbs.db
# scratch; the canonical synthesis lands in the Obsidian vault notes). # scratch; the canonical synthesis lands in the Obsidian vault notes).
.scrape/ .scrape/
.scrape_lib/ .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). # Per-machine ROM compare/patch scratch (side-by-side emulator runs, patch builds).
.compare/ .compare/