Make DocForge quality gates reproducible
This commit is contained in:
parent
78335c8973
commit
7a940b60c1
6 changed files with 139 additions and 12 deletions
|
|
@ -19,12 +19,12 @@ build applications, deploy, publish, or select projects globally.
|
|||
|
||||
## Five-minute start
|
||||
|
||||
Requirements are Python 3.12+, `uv`, Node.js/npm, and Pyright.
|
||||
Requirements are Python 3.12+, `uv`, and Node.js/npm.
|
||||
|
||||
```bash
|
||||
git clone forgejo@repo.andraxion.net:administrator/DocForge.git /absolute/path/DocForge
|
||||
cd /absolute/path/DocForge
|
||||
uv sync
|
||||
uv sync --group dev
|
||||
npm ci
|
||||
|
||||
PROJECT=/absolute/path/MyProject
|
||||
|
|
@ -63,12 +63,12 @@ hash-bound `docforge_apply_changeset` tool.
|
|||
## Development
|
||||
|
||||
```bash
|
||||
pyright --pythonpath .venv/bin/python
|
||||
npx pyright
|
||||
npm run lint:web
|
||||
uv run ruff check src tests tools
|
||||
uv run ruff format --check src tests tools
|
||||
uv run python -m compileall -q src tests tools
|
||||
uv run python -W error -m unittest discover -s tests -v
|
||||
uv run pytest -q
|
||||
```
|
||||
|
||||
See [AGENTS.md](AGENTS.md) before changing core boundaries.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue