Skip to content

Ignore pytest and Ruff caches in the repository - #128

Merged
QuiteYellow merged 1 commit into
QuiteYellow:mainfrom
Moballo-LLC:codex/ignore-tool-caches-20261106
Nov 7, 2026
Merged

QuiteYellow merged 1 commit into
QuiteYellow:mainfrom
Moballo-LLC:codex/ignore-tool-caches-20261106

Conversation

@Jason-Morcos

Copy link
Copy Markdown
Contributor

Local test and lint runs leave .pytest_cache/ and .ruff_cache/ behind. Add both to the repository ignore rules so clean checkouts and worktree cleanup behave consistently without depending on a developer's global Git excludes.

Validated both paths with git check-ignore while global excludes were disabled; git diff --check passes.

@Jason-Morcos

Copy link
Copy Markdown
Contributor Author

@codex review

Please review the current head 88e26590cd46523e13a548e9f5b85ece958ff7e1 for correctness and regressions.

@Jason-Morcos

Copy link
Copy Markdown
Contributor Author

@codex review

@QuiteYellow

Copy link
Copy Markdown
Owner

Thanks. Doesn't hurt to merge this one.

One note for the record: both directories already self-ignore. pytest writes a .pytest_cache/.gitignore containing *, and ruff writes the same for its own cache, so git check-ignore -v points at those two files. The entries here are belt and braces. They still earn their place, because .gitignore is where someone looks to find out what the project expects, and a file inside a cache directory is invisible from there.

@QuiteYellow
QuiteYellow merged commit 2a2a04f into QuiteYellow:main Nov 7, 2026
8 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.

2 participants