# ==========================================
# CGMPy - Global .gitignore
# ==========================================

# --- Secrets & Environment ---
.env
.env.*
!.env.example
*.pem
*.key
*.p12
*.cer

# --- Python ---
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
*.egg-info/
.eggs/
*.manifest
*.spec
build/
dist/
wheels/
*.whl
.venv/
venv/
ENV/
env/
.python-version
.pytest_cache/
.ruff_cache/
.mypy_cache/
.coverage
.coverage.*
htmlcov/
coverage.xml
.tox/
.nox/

# --- Type checkers ---
.mypy_cache/
.pyright_cache/

# --- Notebooks ---
.ipynb_checkpoints/

# --- Example output artefacts (regenerated by re-running the example) ---
examples/**/*.png

# --- Editors / IDEs ---
.idea/
.vscode/*
!.vscode/settings.json
!.vscode/extensions.json
!.vscode/launch.json
!.vscode/tasks.json
.vscode/settings.local.json
.vscode/launch.local.json
.vscode/tasks.local.json
*.swp
*.swo
*~
.cursorignore
.devcontainer/local/

# --- OS Files ---
.DS_Store
Thumbs.db
nul

# --- LibreOffice / Office locks ---
.~lock.*#
.~*

# --- Logs ---
*.log
logs/

# --- Scratch / Drafts (not project code) ---
# Historical / experimental scripts in root
prueba*.py
pruebas.py
simple_csv.py
keepcgm.py
script.py
sed2025*
percentil.py
test vero.py
test_agata.py
ruff_report.txt

# --- Test data (only keep curated fixtures) ---
*.csv
*.parquet
*.feather
*.h5
*.hdf5
*.xlsx
*.xls
!tests/fixtures/**
!examples/**/data/*.csv
!dm.csv
!nodm.csv
!pregnancy.csv
!README.md

# --- Build / dist artifacts ---
cgmpy.egg-info/
build/
dist/
site/

# --- Generated / vendored ---
node_modules/

# Vendored npm dependencies in opencode agent harness
.opencode/node_modules/

# --- Temporary ---
tmp/
temp/
*.tmp
*.bak
*.swp
