Skip to content

Add standard Python .gitignore entries - #105

Merged
gaurav merged 2 commits into
mainfrom
chore/python-gitignore
Jun 26, 2026
Merged

Add standard Python .gitignore entries#105
gaurav merged 2 commits into
mainfrom
chore/python-gitignore

Conversation

@gaurav

@gaurav gaurav commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

The repo's .gitignore predates the Python rewrite — it only covered Scala/Giter8/IntelliJ artifacts, so __pycache__/ and *.pyc showed up as untracked noise throughout the tree and were easy to git add by accident.

Appends the standard GitHub Python.gitignore template (bytecode, build//dist/, .pytest_cache/, .venv/.env, mypy/coverage caches, …) below the existing entries, plus a .DS_Store line for macOS. Existing entries are kept at the top, so this is purely additive.

Independent of the #67 split stack (#101#104) and based on main, so it can merge immediately. No files are currently tracked that the new patterns would retroactively ignore — git ls-tree shows no .pyc/__pycache__ in the tree — so nothing needs git rm --cached.

Verify

git check-ignore -v src/__pycache__/x.pyc .venv .env   # all matched

🤖 Generated with Claude Code

The repo's .gitignore predates the Python rewrite (it only covered
Scala/Giter8/IntelliJ artifacts), so __pycache__/ and *.pyc were tracked
as untracked noise and easy to commit by accident. Append the standard
GitHub Python.gitignore template (bytecode, build/dist, .pytest_cache,
.venv/.env, mypy/coverage caches, etc.) plus a .DS_Store entry for macOS.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@gaurav
gaurav requested a review from Copilot June 26, 2026 05:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .gitignore Outdated
@gaurav
gaurav merged commit 532cd1e into main Jun 26, 2026
@gaurav
gaurav deleted the chore/python-gitignore branch June 26, 2026 05:19
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.

2 participants