Skip to content

Task 02: Configuration System #3

@zalun

Description

@zalun

Create config.yaml and the typed Python loader (config.py) that reads it, substitutes environment variables, resolves paths, validates constraints, and caches the result as a singleton.

Files to Create

  • config.yaml — YAML config at project root
  • src/docproc/config.py — Pydantic models + loader logic
  • tests/test_config.py — Test functions

Files to Modify

  • pyproject.toml — version bump to 0.1.2
  • src/docproc/__init__.py — version bump to 0.1.2
  • tests/test_init.py — expected version to 0.1.2
  • CHANGELOG.md — add [0.1.2] entry
  • .gitignore — add .env

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions