Squash-merge lib-standardisation: adopt repo standards across packaging, tooling, docs, and CI. - standardize pyproject.toml (canonical packaging, lint config, extras, GSDFC pydoclint) - add py.typed marker, modernize type hints and Google-style docstrings - nest generated docs under docs/lib and docs/mcp; add hand-written wiki - adopt standard Type A PyPI CI pipeline (tag==version guard + quality gate) - promote generated CHANGELOG.md; bump version to 0.0.7
931 B
931 B
Quality Gates
Run all checks before pushing:
🚀 Commands
.venv\Scripts\python.exe -m pytest
.venv\Scripts\python.exe -m ruff check docforge tests
.venv\Scripts\python.exe -m black --check docforge tests
.venv\Scripts\python.exe -m mypy docforge
.venv\Scripts\pydoclint.exe docforge
📁 Test layout
| Path | Covers |
|---|---|
tests/nav/ |
Nav spec, resolver, wiki nav |
tests/cli/ |
Build command flows and modes |
tests/renderers/ |
MkDocs / MCP rendering |
CLI tests use the cli_runner fixture with mock_mkdocs_build and
mock_mkdocs_load_config so they exercise the full flow without invoking a
real MkDocs build.