#!/bin/sh -e

pr() {
    poetry run python -m "$@"
}

pr pytest --cov-report term-missing --cov-report=xml:coverage.xml --cov=decli "${1:-tests}"
pr ruff check
pr mypy
