Add .gitignore file to exclude common Python artifacts and environment files

This commit is contained in:
unai 2026-02-01 16:30:02 +00:00
parent e66777e0d1
commit 07c3f7db1e

44
.gitignore vendored
View File

@ -0,0 +1,44 @@
# --- Python (Bytecode y cache) ---
__pycache__/
*.py[cod]
*$py.class
poetry.lock
# --- Distribución y Build ---
dist/
build/
*.egg-info/
.eggs/
# --- Entornos Virtuales (Poetry suele crear .venv) ---
.venv/
venv/
env/
ENV/
# --- Testing y Coverage ---
.coverage
.coverage.*
htmlcov/
.pytest_cache/
coverage.xml
# --- Herramientas de Calidad (Ruff, Mypy) ---
.ruff_cache/
.mypy_cache/
.dmypy.json
# --- Variables de Entorno (¡Seguridad!) ---
.env
# --- IDEs y Editores ---
.vscode/
.idea/
*.swp
*.swo
# --- Sistema Operativo ---
.DS_Store
Thumbs.db
# --- Logs ---
*.log