Thanks for helping improve Weaver!
- Python 3.11+
- Node.js 18+ (Node 20+ recommended)
- pnpm (for
web/)
make setupOptional heavy tool dependencies (desktop automation / Office docs / crawler extras):
make setup-fullcd web
pnpm install# Lint (ruff)
make lint
# Format (ruff format)
make format
# Tests (pytest)
make test
# Everything (lint + tests + secret scan)
make checkInstall hooks:
.venv/bin/pre-commit installRun on all files:
.venv/bin/pre-commit run -a- Never commit real API keys.
- Use
.env.exampleas a template and keep.envlocal. - Local scan:
.venv/bin/python scripts/secret_scan.pyPull requests should pass:
- Backend lint + tests
- Secret scan
- Frontend lint + build
- Docker image build