.gitignore covers __pycache__ and .pytest_cache, but not:
.ruff_cache/
pytest-cache-files-*/
Both are generated by tools the project runs on every validation pass, so they sit untracked in
everyone's working tree — cluttering git status, and one bad git add -A away from being
committed.
Fix: add both to .gitignore. Two lines.
(Worth checking nothing has already been committed under those paths, in which case they need a
git rm -r --cached alongside.)
.gitignorecovers__pycache__and.pytest_cache, but not:Both are generated by tools the project runs on every validation pass, so they sit untracked in
everyone's working tree — cluttering
git status, and one badgit add -Aaway from beingcommitted.
Fix: add both to
.gitignore. Two lines.(Worth checking nothing has already been committed under those paths, in which case they need a
git rm -r --cachedalongside.)