Conversation
feat: ajustar diseño segun selección del equipo
feat: actualizar colores en gui.py
feat: Implementar lógica de clic para entrada numérica
feat: implementar botón decimal con validación en la calculadora Tkinter
feat(core): añadir lógica de operaciones (+, -, *, /, ^) y soporte para botón "="
feat: implementar botones C y ⌫ con su funcionalidad correspondiente
feat: Agregar funciones científicas (abs, max, min) con integración en GUI
docs — Añadir guía de usuario para la GUI
refactor(gui): mejorar funciones unarias y manejo de errores
…ns-ci feat: Configurar CI/CD con GitHub Actions
Merge branch 'dev' into feat/soporte-numeros-negativos
feat: agregar soporte de teclado para calculadora GUI
test: agregar tests de GUI con mocks de tkinter
docs: actualizar documentación para release v2.0.0
refactor: reorganizar estructura del proyecto (src/, tests/, requirements.txt)
…portamiento decimal consistente
Fix: Corrección del comportamiento del decimal después del signo menos
…ar expresiones matemáticas complejas
feat: implementar soporte de paréntesis en calculadora
- Validar bases negativas con raíces pares en calculator.py - Manejar error de 'Raíz negativa' en la GUI - Agregar caso de prueba para operaciones de raíz inválidas
fix: evitar resultados complejos para raíces pares negativas
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📋 Descripción
Este Pull Request contiene el Release v2.1.0 oficial del proyecto, un minor release que introduce soporte completo para operaciones con paréntesis, reorganiza la estructura del proyecto siguiendo mejores prácticas de Python, y corrige bugs importantes.
🎉 Minor Release - Operaciones con Paréntesis + Reorganización de Proyecto
Este release incluye:
🔢 Operaciones con Paréntesis en la GUI
📁 Reorganización del Proyecto
src/ytests/requirements.txt🐛 Correcciones de Bugs
📝 Documentación Actualizada
🔗 Issues Relacionadas
Issues que se cerrarán automáticamente:
Closes #44, Closes #49, Closes #50, Closes #53
📋 Ver lista detallada de issues (4 issues)
🎯 Tipo de Cambio
🧪 ¿Cómo se ha probado?
Comandos ejecutados:
Resultados:
devymain✅ Checklist
📊 Estadísticas del Release v2.1.0
Números:
Archivos:
✏️ Archivos modificados principales:
src/gui.py- Soporte de paréntesis y mejorassrc/calculator.py- Validación de raíces negativastests/test_gui.py- 13 tests nuevos de paréntesisREADME.md- Documentación actualizadaCHANGELOG.md- Historial de v2.1.0📁 Reorganización:
src/(calculator.py, cli.py, gui.py)tests/(test_calculator.py, test_gui.py, conftest.py)requirements.txt__init__.pyen paquetesLíneas de Código:
Pull Requests Incluidos:
🔀 Ver todos los PRs mergeados (4 PRs)
📝 Notas Adicionales
Lo que incluye este Release:
Operaciones con Paréntesis:
(y)(2+3)*4,((2+3)*4)/5Reorganización del Proyecto:
src/con código fuentetests/con testsrequirements.txtcon dependencias__init__.pyen paquetesCorrecciones de Bugs:
-2 ^ 0. 5ahora muestra error-.autocompleta a-0.Testing:
Documentación:
Características Destacadas del v2.1.0:
✨ Paréntesis:
✨ Validaciones:
-0.✨ Estructura Profesional:
🙏 Agradecimientos
Este release fue posible gracias al trabajo colaborativo de todo el equipo:
Contribuidores:
@Jandres25 - Jose Andres Meneces Lopez
@Jhos3ph - Jose Orozco
@alexricardotapiacarita-ai - Alex Tapia
🎉 Celebración
Este release marca otro hito importante en el proyecto:
¡15+ commits, 4 PRs, 4 issues completadas!
Gracias a todo el equipo por demostrar excelentes prácticas de:
📚 Comparación de Versiones
🔄 Cambios desde v2.0.0
✨ Nuevas Funcionalidades
🐛 Bugs Corregidos
♻️ Refactoring
src/ytests/requirements.txtagregado📝 Documentación
🧪 Testing Completo
Tests Unitarios (63+ tests)
$ pytest tests/ -v ======================== test session starts ======================== collected 63+ items tests/test_calculator.py::test_add PASSED tests/test_calculator. py::test_subtract PASSED tests/test_calculator.py::test_multiply PASSED tests/test_calculator.py::test_divide PASSED tests/test_calculator.py::test_power PASSED tests/test_calculator.py::test_negative_root PASSED ✨ NUEVO tests/test_calculator.py::test_abs_value PASSED tests/test_calculator.py::test_valor_maximo PASSED tests/test_calculator.py::test_valor_minimo PASSED ... tests/test_gui.py::test_parenthesis_basic PASSED ✨ NUEVO tests/test_gui.py::test_parenthesis_nested PASSED ✨ NUEVO tests/test_gui.py::test_parenthesis_with_decimals PASSED ✨ NUEVO tests/test_gui. py::test_parenthesis_with_negatives PASSED ✨ NUEVO tests/test_gui. py::test_parenthesis_with_power PASSED ✨ NUEVO tests/test_gui.py::test_parenthesis_unbalanced PASSED ✨ NUEVO tests/test_gui.py::test_parenthesis_expression_mode PASSED ✨ NUEVO tests/test_gui.py::test_parenthesis_clear PASSED ✨ NUEVO tests/test_gui.py::test_parenthesis_backspace PASSED ✨ NUEVO tests/test_gui. py::test_parenthesis_display_update PASSED ✨ NUEVO tests/test_gui.py::test_parenthesis_mixed_mode PASSED ✨ NUEVO tests/test_gui.py::test_parenthesis_complex_expression PASSED ✨ NUEVO tests/test_gui.py::test_parenthesis_division_by_zero PASSED ✨ NUEVO tests/test_gui.py::test_decimal_click PASSED tests/test_gui.py::test_suma PASSED tests/test_gui. py::test_resta PASSED tests/test_gui.py::test_multiplicacion PASSED tests/test_gui. py::test_division PASSED ... ======================== 63+ passed ======================== ✅Tests Manuales
src/funcionan correctamente📸 Screenshots
💡 Ver ejemplos de operaciones con paréntesis
Operación básica:
(2+3)*4Operación anidada:
((2+3)*4)/5Error de validación:
(2+3Raíz negativa:
-2 ^ 0.5🎯 Issues Pendientes para v3.0.0
👥 Revisores Sugeridos
@Jhos3ph @alexricardotapiacarita-ai
Petición Final:
Este es el merge oficial del release v2.1.0 a main. Por favor:
Una vez mergeado, procederemos a:
v2.1.0🚀 Release v2.1.0 - ¡Paréntesis + Reorganización + Bug Fixes! ✨
Branch:
main←devTipo: Minor Release
Versión: v2.1.0
Fecha: 2025-12-03