Skip to content

chore: ignore Python bytecode artifacts - #15

Merged
absolutepraya merged 1 commit into
mainfrom
absolutepraya/ignore-python-cache
Sep 17, 2026
Merged

absolutepraya merged 1 commit into
mainfrom
absolutepraya/ignore-python-cache

Conversation

@absolutepraya

@absolutepraya absolutepraya commented Sep 17, 2026 •

Copy link
Copy Markdown
Owner

Summary\n\n- Ignore Python cache directories and bytecode artifacts left by the retired Python implementation.\n- Prevent local migration-era cache files from appearing as untracked worktree changes.\n\n## Validation\n\n- git diff --check\n- git check-ignore -v bin/pycache/wtcpython-311.pyc tests/pycache/test_commands.cpython-311-pytest-9.0.3.pyc\n\nNo runtime code changes.

Summary by CodeRabbit

  • Chores
    • Updated project file handling to exclude Python cache directories and compiled bytecode files from version control.

@coderabbitai

coderabbitai Bot commented Sep 17, 2026 •

Copy link
Copy Markdown

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 94fe161f-d967-4ca7-a8d2-24c24a22a1be

📥 Commits

Reviewing files that changed from the base of the PR and between 2024461 and 985772a.

📒 Files selected for processing (1)
  • .gitignore

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The .gitignore file now excludes Python __pycache__/ directories and bytecode files matching *.py[cod].

Changes

Python cache ignore rules

Layer / File(s) Summary
Ignore Python-generated files
.gitignore
Adds ignore rules for __pycache__/ and *.py[cod].

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~2 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to 98577

The change only adds appropriate ignore patterns for retired Python cache and bytecode artifacts.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: adding ignore rules for Python bytecode artifacts.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch absolutepraya/ignore-python-cache

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@absolutepraya
absolutepraya merged commit e76be0c into main Sep 17, 2026
14 checks passed
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