Aller au contenu

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

  1. Créer une branche
git checkout develop
git pull origin develop
git checkout -b feature/sprint-XX-description
  1. Développer avec commits atomiques
git commit -m "feat(auth): ajout du endpoint reset password"
  1. Push et PR
git push -u origin feature/sprint-XX-description

Voir Aussi