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 guiIf you prefer using pip directly:
pip install -e ".[dev]"
pre-commit install
npm install --prefix gui && npm run build --prefix guiuv run nf-schema-builder send tests/test-schema-full.jsonOr activate the virtual environment first:
source .venv/bin/activate
nf-schema-builder send tests/test-schema-full.jsonThis 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-filesTo check types:
uv run pyright nf_schema_builderTo run tests:
uv run pytest