# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg

# Virtual environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# IDE
.idea/
.vscode/
*.swp
*.swo
*~

# Testing
.tox/
.nox/
.coverage
.coverage.*
htmlcov/
.pytest_cache/
.hypothesis/

# Mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Ruff
.ruff_cache/

# Distribution / packaging
.Python
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Cache
.zhtw-cache
*.cache

# macOS
.DS_Store
.AppleDouble
.LSOverride
.envrc

# Worktrees
.worktrees/

# Claude Code local settings
.claude/settings.local.json

# Private Claude rules (contain sensitive info)
.claude/rules/*-internal.md
.claude.local/
.scannerwork/

# Test data (downloaded by scripts, not version controlled)
tests/data/novel/
tests/data/corpus/

# Pending terms (runtime scratch files from `zhtw import`, reviewed then merged)
src/zhtw/data/terms/pending/*.json
