#!/usr/bin/env bash

# Check if pyright is installed, otherwise exit 1
[[ -x "$(command -v pyright)" ]] || (
    echo "pyright not found"
    exit 1
)

pyright src/bentoml --level error 2> /dev/null || exit 0
