feat(calibration): complete step 1 data inspection with data quality v1

This commit is contained in:
DaM
2026-02-08 22:29:09 +01:00
parent f85c522f22
commit 4d769af8bf
89 changed files with 5014 additions and 203 deletions

18
scripts/common/env.py Normal file
View File

@@ -0,0 +1,18 @@
# scripts/common/env.py
from pathlib import Path
from dotenv import load_dotenv
from src.utils.logger import log
def setup_environment():
"""
Carga variables de entorno desde config/secrets.env
"""
env_path = Path(__file__).parent.parent.parent / "config" / "secrets.env"
if not env_path.exists():
log.warning(f"⚠️ Archivo .env no encontrado: {env_path}")
return
load_dotenv(dotenv_path=env_path)
log.success("✓ Variables de entorno cargadas")