A minimal CLI tool built with Typer.
- Sync dependencies and create virtual environment:
uv sync --extra dev
- Install pre-commit hooks:
uv run pre-commit install
- Build GUI assets:
npm install --prefix gui
npm run build --prefix gui
If you prefer using pip directly:
pip install -e ".[dev]"
pre-commit install
npm install --prefix gui && npm run build --prefix gui
uv run nf-schema-builder send tests/test-schema-full.json
Or activate the virtual environment first:
source .venv/bin/activate
nf-schema-builder send tests/test-schema-full.json
This project uses Ruff for linting and formatting.
This project uses:
- Ruff for linting and formatting
- pyright for static type checking
- pre-commit for automated checks
Follow the installation instructions above using uv sync --extra dev
.
The pre-commit hooks will automatically run on every commit. You can also run them manually:
uv run pre-commit run --all-files
To check types:
uv run pyright nf_schema_builder
To run tests:
uv run pytest