Skip to content

Commit 847aeb7

Browse files
ralyodioclaude
andauthored
chore: drop the .pyc that #963 committed, and ignore them (#964)
__pycache__/threatcrush-to-sarif.cpython-314.pyc went in with #963. Testing the converter means importing it, importing it writes bytecode beside it, and `git add -A` on that directory took the lot. No consumer saw it: the pack's `files:` list names workflow.yml and threatcrush-to-sarif.py explicitly, so nothing globs the directory and nothing shipped. This is repository hygiene, not an install problem. Ignored rather than only deleted, because the next person to run that converter locally will regenerate it and the same `git add -A` will pick it up again. One Python file in the repository is exactly the number that makes this easy to miss. Signed-off-by: Anthony Ettinger <anthony@chovy.com> Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
1 parent 92cd30d commit 847aeb7

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,10 @@ notes/
2222
.session/
2323
CLAUDE-*.md
2424
supabase/.temp
25+
26+
# Python bytecode. The repository has one Python file — the SARIF converter in
27+
# the threatcrush-scan pack — and importing it to test it writes a .pyc next to
28+
# it, which a `git add -A` on that directory then sweeps in. That is how
29+
# __pycache__/threatcrush-to-sarif.cpython-314.pyc reached master in #963.
30+
__pycache__/
31+
*.py[cod]
Binary file not shown.

0 commit comments

Comments
 (0)