Skip to content

Scaffolding - #1

Closed
Yopadd wants to merge 4 commits into
mainfrom
scafolding
Closed

Yopadd wants to merge 4 commits into
mainfrom
scafolding

Conversation

@Yopadd

@Yopadd Yopadd commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator

Je propose un scaffolding avec une approche monorepo.

  • Un backend en python et un frontend avec NextJS bien séparés
  • Une CI en commun sur les linter et séparée pour les tests
adapt-explore/
├── backend/                      
│   ├── pyproject.toml           
│   ├── uv.lock                   
│   ├── tox.ini                   
│   └── src/                      
│
├── frontend/                     
│   ├── package.json            
│   ├── tsconfig.json            
│   ├── .eslintrc.json           
│   └── src/app/                 
│
├── .github/workflows/            # CI/CD
│   ├── pre-commit.yaml           # Linting unifié
│   ├── backend-tests.yaml        # Tests Python
│   └── frontend-tests.yaml       # Tests NextJS
│
├── .pre-commit-config.yaml       # Hooks Git (Ruff + ESLint)
└── .gitignore                 

- Remove d4g-utils/install_poetry.sh (Poetry is replaced by uv)
- Update tox.ini to use uv sync and target Python 3.12
- Add dev dependencies: pytest, mypy, black
- Update uv.lock with new dependencies
- Remove .github/workflows/d4g-utils.yml (obsolete, d4g-utils dir deleted)
- Update pre-commit.yaml: use actions v4/v5, add uv install, cache uv/.venv
- Add tests.yaml: new workflow for pytest with uv support
- All workflows now use Python 3.12 and uv for dependency management
- Move Python backend to backend/ directory
- Add NextJS frontend project in frontend/
- Update .gitignore for both backend (.venv/) and frontend (node_modules/)
- Update .pre-commit-config.yaml with Ruff (backend) + ESLint/Prettier/Next (frontend)
- Add backend-tests.yaml workflow (triggered on backend/ changes)
- Add frontend-tests.yaml workflow (triggered on frontend/ changes)
- Update pre-commit.yaml workflow with Python + Node.js setup
- Remove old python_template/ directory and tests.yaml workflow
- Move tox.ini to backend/ directory (Python-specific config)
- Add skipsdist=true to avoid unnecessary package creation
- Use 'uv run pytest' instead of 'python -m pytest' for consistency
- Keep tox.ini for local multi-environment testing
@Yopadd Yopadd closed this Nov 4, 2026
@Yopadd
Yopadd deleted the scafolding branch November 4, 2026 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant