refactor: reorganizar estructura del proyecto (src/, tests/, requirements.txt)#54
Merged
refactor: reorganizar estructura del proyecto (src/, tests/, requirements.txt)#54
Conversation
25 tasks
alexricardotapiacarita-ai
approved these changes
Nov 30, 2025
Contributor
alexricardotapiacarita-ai
left a comment
There was a problem hiding this comment.
esta bien lo que pusiste src
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
Reorganización completa de la estructura del proyecto para mejorar la organización, escalabilidad y seguir las mejores prácticas de Python.
Cambios principales:
src/con todo el código fuentetests/con todos los testsmain.pyrenombrado acli.py(más descriptivo)test_gui_calculator.pyrenombrado atest_gui. py(más corto)requirements.txtpara gestión de dependencias__init__.pyensrc/ytests/docs/mantenida sin cambios🔗 Issue Relacionado
Closes #53
🎯 Tipo de Cambio
🧪 ¿Cómo se ha probado?
Comandos ejecutados:
Resultados:
✅ Checklist
📊 Detalles de la Reorganización
Archivos Movidos:
calculator.py→src/calculator.pymain.py→src/cli.py(renombrado)gui.py→src/gui.pytest_calculator.py→tests/test_calculator.pytest_gui_calculator.py→tests/test_gui.py(renombrado)conftest.py→tests/conftest.pyArchivos Nuevos:
src/__init__.py- Configuración del paquete Pythontests/__init__.py- Marcador de paquete de testsrequirements.txt- Gestión de dependencias (pytest>=7.0.0)Archivos Mantenidos:
docs/- Documentación sin cambios.github/- Configuración de GitHub sin cambiosREADME.md,CHANGELOG.md,LICENSE,. gitignore- Sin cambios🎯 Beneficios de esta Reorganización
src/from src.calculator import ...pytest tests/requirements.txtfacilita onboarding📝 Notas Adicionales
docs/conUSER_GUIDE. mdyscreenshots/se mantiene intactatkinterNO está enrequirements.txtporque viene con Pythonmain.pyahora escli.pypara mayor claridad de propósitotests/👥 Revisores Sugeridos
@Jhos3ph @alexricardotapiacarita-ai
Petición al equipo:
Por favor revisen que:
Milestone: v2.1.0