What it is
Type checker and test caches in Python projects.
Can you delete it?
Yes, it is rebuilt automatically. Rebuilt on the next run.
How to clean it safely
- Delete .mypy_cache, .pytest_cache and .ruff_cache.
Step-by-step guide: Clean up Python environments →
Related folders
- Python virtual environment ·
<project>/.venv - Poetry cache ·
~/Library/Caches/pypoetry - pyenv Python versions ·
~/.pyenv/versions - pip cache ·
~/Library/Caches/pip - Conda package cache ·
~/miniconda3/pkgs - uv cache ·
~/.cache/uv
Questions
Is it safe to delete <project>/.mypy_cache?
Yes, it is rebuilt automatically. Rebuilt on the next run.
Let the raccoon do it, safely
Junk Raccoon finds this clutter for you, shows every file first, and keeps a one-click way back. Free to download, no account, no ads.
Download for Mac