Skip to content

nextflow-io/schema-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nf-schema-builder

A minimal CLI tool built with Typer.

Installation

Using uv (Recommended)

  1. Sync dependencies and create virtual environment:
uv sync --extra dev
  1. Install pre-commit hooks:
uv run pre-commit install
  1. Build GUI assets:
npm install --prefix gui
npm run build --prefix gui

Alternative Installation (pip)

If you prefer using pip directly:

pip install -e ".[dev]"
pre-commit install
npm install --prefix gui && npm run build --prefix gui

Usage

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

Development

This project uses Ruff for linting and formatting.

Development Tools

This project uses:

Setup

Follow the installation instructions above using uv sync --extra dev.

Development Workflow

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •