# ─────────────────────────────────────────────
#  backend/.gitignore  (Python / FastAPI)
# ─────────────────────────────────────────────

# Byte-compiled / optimised source files
__pycache__/
*.py[cod]
*.pyo
*.pyd

# Virtual environment (local override)
.venv/
venv/
env/

# Distribution / packaging
dist/
build/
*.egg-info/

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

# Type checkers & linters
.mypy_cache/
.ruff_cache/
.pytype/

# Local database files
*.sqlite3
*.db
*.db-shm
*.db-wal

# Alembic generated junk
alembic/versions/__pycache__/

# Secrets
.env
.env.*
!.env.example
secrets.json

# Logs
*.log
