Skip to content

chore: stop tracking python bytecode - #58

Merged
sgardoll merged 1 commit into
mainfrom
chore/untrack-python-bytecode
Aug 16, 2026
Merged

chore: stop tracking python bytecode#58
sgardoll merged 1 commit into
mainfrom
chore/untrack-python-bytecode

Conversation

@sgardoll

Copy link
Copy Markdown
Owner

py_compile output got swept in by git add -A. Bytecode is machine- and version-specific and never belongs in the repo.

py_compile output got swept in by git add -A. Bytecode is machine- and
version-specific and never belongs in the repo.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@sgardoll
sgardoll merged commit 1d0664d into main Aug 16, 2026
4 of 5 checks passed
@sgardoll
sgardoll deleted the chore/untrack-python-bytecode branch August 16, 2026 00:46
@greptile-apps

greptile-apps Bot commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR prevents generated Python bytecode from being tracked and removes two previously committed cache artifacts.

  • Adds repository-wide ignore rules for __pycache__/ directories and *.pyc files.
  • Removes Python 3.13 bytecode generated by the deployment and deploy-guard scripts.

Confidence Score: 5/5

The PR appears safe to merge because it only removes generated bytecode and prevents equivalent artifacts from being tracked again.

The ignore patterns cover standard Python cache outputs, while the deleted files are reproducible interpreter-generated artifacts rather than required source files.

Important Files Changed

Filename Overview
.gitignore Adds standard Python bytecode ignore patterns without affecting source or runtime behavior.
scripts/pycache/deploy_ftp.cpython-313.pyc Removes a generated, interpreter-specific bytecode artifact.
scripts/pycache/test-deploy-guard.cpython-313.pyc Removes a generated, interpreter-specific test bytecode artifact.

Reviews (1): Last reviewed commit: "chore: stop tracking python bytecode" | Re-trigger Greptile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant