# --- Python bytecode / build artifacts ---
__pycache__/
*.py[cod]
*$py.class
*.so
*.egg
*.egg-info/
.eggs/
build/
dist/
*.whl
*.tar.gz
pip-wheel-metadata/

# --- Virtual environments ---
.venv/
venv/
env/
ENV/
.python-version

# --- Test / lint caches ---
.pytest_cache/
.ruff_cache/
.mypy_cache/
.tox/
.coverage
.coverage.*
htmlcov/
coverage.xml
nosetests.xml
.hypothesis/

# Pytest leftover tempdirs (rare, but seen on Windows when run with custom basetemp)
.tmp/
tmp/

# --- IDE / editor ---
.idea/
.vscode/
*.swp
*.swo
*.sublime-workspace
*.sublime-project

# --- OS junk ---
.DS_Store
Thumbs.db
desktop.ini
*.lnk

# --- Logs / databases ---
*.log
*.sqlite
*.sqlite3
*.db
*.db-wal
*.db-shm
*.db-journal

# --- backtrack local state ---
# The collector writes its SQLite DB to ~/.backtrack/ by default, but if you
# point --db at a project-local path, keep it out of the repo.
.backtrack/

# --- Claude Code local config (don't ship per-user prefs) ---
.claude/settings.local.json

# --- Misc tooling ---
.env
.env.local
.envrc
node_modules/
.npm/

# --- Project legacy (pre-pivot project_graph_mcp artifacts) ---
.project_graph/
*.kuzu/
