Python project scaffold opzetten #4

Closed
opened 2026-03-29 08:41:50 +02:00 by coornhert · 1 comment
Owner

Beschrijving

Opzetten van de Python project-structuur in de meta repo.

Acties

  • pyproject.toml met project metadata
  • src/ directory layout (wetgit package)
  • pytest configuratie
  • ruff + black configuratie
  • mypy configuratie
  • CI pipeline (Forgejo Actions)
  • Pre-commit hooks
  • Nix flake updaten met nieuwe dependencies

Structuur

wetgit/meta/
├── src/wetgit/
│   ├── __init__.py
│   ├── pipeline/    # BWB/CVDR parsers
│   ├── api/         # FastAPI app
│   └── cli/         # Click CLI
├── tests/
├── pyproject.toml
└── ...
## Beschrijving Opzetten van de Python project-structuur in de meta repo. ## Acties - [ ] pyproject.toml met project metadata - [ ] src/ directory layout (wetgit package) - [ ] pytest configuratie - [ ] ruff + black configuratie - [ ] mypy configuratie - [ ] CI pipeline (Forgejo Actions) - [ ] Pre-commit hooks - [ ] Nix flake updaten met nieuwe dependencies ## Structuur ``` wetgit/meta/ ├── src/wetgit/ │ ├── __init__.py │ ├── pipeline/ # BWB/CVDR parsers │ ├── api/ # FastAPI app │ └── cli/ # Click CLI ├── tests/ ├── pyproject.toml └── ... ```
coornhert added this to the Fase 1 — Data Foundation milestone 2026-03-29 08:41:50 +02:00
coornhert added the
type:infra
label 2026-03-29 08:41:50 +02:00
Author
Owner

Done. Project scaffold aangemaakt:

src/wetgit/
├── __init__.py
├── models.py          # Regeling, Artikel dataclasses
├── pipeline/
│   ├── __init__.py
│   └── bwb_parser.py  # BWB XML → Markdown parser
├── api/
│   └── __init__.py
└── cli/
    ├── __init__.py
    └── main.py         # Click CLI entrypoint
tests/
└── pipeline/
    └── test_bwb_parser.py
pyproject.toml              # ruff, black, mypy, pytest config
**Done.** Project scaffold aangemaakt: ``` src/wetgit/ ├── __init__.py ├── models.py # Regeling, Artikel dataclasses ├── pipeline/ │ ├── __init__.py │ └── bwb_parser.py # BWB XML → Markdown parser ├── api/ │ └── __init__.py └── cli/ ├── __init__.py └── main.py # Click CLI entrypoint tests/ └── pipeline/ └── test_bwb_parser.py pyproject.toml # ruff, black, mypy, pytest config ```
Sign in to join this conversation.
No description provided.