⚙ Environment
Local setup for developing khata-app.
▶ Create The Venv
The repo is Python 3.13 compatible (dev venv runs 3.13.5). pyproject.toml declares the app dist as packages domain*, infra*, interfaces*.
📦 Key Tools
| Tool | Where | Notes |
|---|---|---|
pytest |
.venv\Scripts\pytest.exe |
Unit + integration tests |
ruff |
.venv\Scripts\ruff.exe |
Lint/format checks |
doc-forge |
.venv\Scripts\doc-forge.exe |
Docs engine (lib/api/wiki/MCP) |
mypy |
(not installed) | Optional type gate; stubs currently lint-clean instead |
doc-forge is installed from the local aetos source (pip install -e "C:\Users\vishe\WorkSpace\code\aetos\doc-forge[mkdocs,mcp]"); it isn't on PyPI.
💡 Pin Note (Python 3.13)
MkDocs highlighter crashes on pygments 2.20 under 3.13 (filename=None bug). Keep pygments==2.19.2 in the khata venv: