From 34b18229f9a82362d791cca5390447e3daea04cd Mon Sep 17 00:00:00 2001 From: Roberto Cano <3525807+robercano@users.noreply.github.com> Date: Tue, 7 Jul 2026 12:37:29 +0200 Subject: [PATCH] chore: gitignore Python bytecode cache from .claude/scripts hooks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The PreToolUse guard (guard-git-add.py) is the first .py under .claude/scripts; running/importing it generates __pycache__/*.pyc. Ignore it so it never clutters status or gets committed — in this repo and in downstream consumers. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01NTZEsfFT4mrZpv8CY67Frd --- .gitignore | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 19cef86..a89c8c7 100644 --- a/.gitignore +++ b/.gitignore @@ -23,4 +23,9 @@ .gitconfig .ripgreprc .idea/ -.vscode/ \ No newline at end of file +.vscode/ + +# Python bytecode cache — generated when the PreToolUse hook script under +# .claude/scripts/ is imported/run. Regenerable; never commit it. +__pycache__/ +*.pyc \ No newline at end of file