#!/bin/sh
# If check fails echo error message and exit with status 1

rye lint -q || { echo "lint failed"; exit 1; }
rye fmt -q --check || { echo "fmt failed"; exit 1; }
