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
Create
config.yamland 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 rootsrc/docproc/config.py— Pydantic models + loader logictests/test_config.py— Test functionsFiles to Modify
pyproject.toml— version bump to 0.1.2src/docproc/__init__.py— version bump to 0.1.2tests/test_init.py— expected version to 0.1.2CHANGELOG.md— add [0.1.2] entry.gitignore— add .env