Guide du Développeur¶
Guide complet pour contribuer au projet JARVIS.
Setup IDE¶
VS Code (Recommandé)¶
Extensions recommandées:
- Python (ms-python.python)
- Pylance
- Black Formatter
- GitLens
Configuration¶
{
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.formatOnSave": true
},
"python.linting.flake8Enabled": true
}
Structure de Travail¶
# Terminal 1: Infrastructure
cd src/infra && docker-compose up -d
# Terminal 2: Backend API
cd src/backend
source venv/bin/activate
uvicorn app.main:app --reload --port 8000
# Terminal 3: Tests
pytest tests/ -v --tb=short -x
Workflow de Développement¶
- Créer une branche
- Développer avec commits atomiques
- Push et PR